blob: 9397dc9a5b95d8125a929344a4b25fca57510ba4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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(),
],
),
),
);
}
}
|