Last active
December 8, 2018 17:45
-
-
Save ramansah/6386883ad5fccd84085a0c597257536b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Timer extends StatefulWidget { | |
@override | |
State<StatefulWidget> createState() { | |
return new TimerState(); | |
} | |
} | |
class TimerState extends State<Timer> { | |
int secondsPassed = 0; | |
bool isActive = false; | |
@override | |
Widget build(BuildContext context) { | |
// Return Widget Tree | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment