Skip to content

Instantly share code, notes, and snippets.

@ipondroid
Created July 25, 2019 05:12
Show Gist options
  • Save ipondroid/18f2b7b85c7339ceb6b782befe92f0c3 to your computer and use it in GitHub Desktop.
Save ipondroid/18f2b7b85c7339ceb6b782befe92f0c3 to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
);
}
}
class HomePage extends StatefulWidget {
HomePage({Key key}) : super(key: key);
@override
_HomePageState createState() => _HomePageState();
}
class _HomePageState extends State<HomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Navigator demo Home'),
),
body: ListView(
children: <Widget>[
],
),
);
}
}
class Page1 extends StatelessWidget {}
class Page2 extends StatelessWidget {}
class Page3 extends StatelessWidget {}
class Page4 extends StatelessWidget {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment