Skip to content

Instantly share code, notes, and snippets.

@Zfinix
Created December 31, 2018 10:49
Show Gist options
  • Save Zfinix/45b251d1075c1bb172521ab25790d8ed to your computer and use it in GitHub Desktop.
Save Zfinix/45b251d1075c1bb172521ab25790d8ed to your computer and use it in GitHub Desktop.
....
@override
Widget build(BuildContext context) {
final dots = Hero(
tag: 'hero',
child: Image.asset('assets/icons/dots.png', scale: 3),
);
final icon = Hero(
tag: 'hero',
child: Image.asset(iconc, scale: 4),
);
final menu = Hero(
tag: 'hero',
child: Image.asset('assets/icons/menu.png', scale: 3.7),
);
final line = Hero(
tag: 'hero',
child: Image.asset('assets/icons/line.png', scale: 3.7),
);
final wind = LinearProgressIndicator(
backgroundColor: Colors.white24,
value: windspeed2,
);
final pressurec = LinearProgressIndicator(
backgroundColor: Colors.white24,
value: pressure2,
);
final humidityc = LinearProgressIndicator(
backgroundColor: Colors.white24,
value: humidity2,
);
....
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment