Skip to content

Instantly share code, notes, and snippets.

@NishantDesai1306
Created June 29, 2019 08:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NishantDesai1306/59c1d72b4e8896ae672f0a5916a4d78e to your computer and use it in GitHub Desktop.
Save NishantDesai1306/59c1d72b4e8896ae672f0a5916a4d78e to your computer and use it in GitHub Desktop.
Basic App
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: DefaultAppBar(), // This trailing comma makes auto-formatting nicer for build methods.
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment