Skip to content

Instantly share code, notes, and snippets.

@suragch
Created April 10, 2021 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suragch/d9f66bf32dfdd2469df48fd7fabe308c to your computer and use it in GitHub Desktop.
Save suragch/d9f66bf32dfdd2469df48fd7fabe308c to your computer and use it in GitHub Desktop.
Minimalist state management: Timer tutorial: timer page UI
import 'package:flutter/material.dart';
import 'timer_page/timer_page.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: TimerPage(),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment