aboutsummaryrefslogtreecommitdiff
path: root/lib/main.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/main.dart')
-rw-r--r--lib/main.dart27
1 files changed, 27 insertions, 0 deletions
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(),
+ ],
+ ),
+ ),
+ );
+ }
+}