From 120c36cdbb91aa18a8deb33247b84f8a9f9c53ca Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Tue, 2 Jun 2020 15:27:13 +0530 Subject: Adds base component structure --- lib/main.dart | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lib/main.dart (limited to 'lib/main.dart') diff --git a/lib/main.dart b/lib/main.dart new file mode 100644 index 0000000..9397dc9 --- /dev/null +++ b/lib/main.dart @@ -0,0 +1,27 @@ +import 'package:flutter/material.dart'; + +import 'pages/Home.dart'; +import 'pages/Apps.dart'; + +void main() { + runApp(MyApp()); +} + +class MyApp extends StatelessWidget { + // This widget is the root of your application. + @override + Widget build(BuildContext context) { + return MaterialApp( + title: 'Flutter Demo', + home: Scaffold( + body: PageView( + controller: PageViewController(), + children: [ + HomeView(), + AppView(), + ], + ), + ), + ); + } +} -- cgit v1.3.1