Skip to content

Instantly share code, notes, and snippets.

@creativecreatorormaybenot
Created January 21, 2020 21:45
Show Gist options
  • Save creativecreatorormaybenot/8cedf2c3043e347aad9a68363f41aacc to your computer and use it in GitHub Desktop.
Save creativecreatorormaybenot/8cedf2c3043e347aad9a68363f41aacc to your computer and use it in GitHub Desktop.
/// Declares that a [RenderWeatherIcon] is a repaint boundary.
///
/// This makes sure that other weather icons and the background
/// do not have to repaint when only this icon changes.
@override
bool get isRepaintBoundary => true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment