|
@@ -1,4 +1,7 @@
|
|
|
import 'package:flutter/material.dart';
|
|
|
+import 'package:flutter_provider_demo/pages/home_page.dart';
|
|
|
+import 'package:flutter_provider_demo/pages/message_page.dart';
|
|
|
+import 'package:flutter_provider_demo/pages/mine_page.dart';
|
|
|
|
|
|
/// Description: index page
|
|
|
/// Time : 09/03/2023 Sunday
|
|
@@ -12,6 +15,11 @@ class IndexPage extends StatefulWidget {
|
|
|
|
|
|
class _IndexPageState extends State<IndexPage> {
|
|
|
final List<String> _list = <String>[];
|
|
|
+ List<Widget> pages = [
|
|
|
+ const HomePage(),
|
|
|
+ const MessagePage(),
|
|
|
+ const MinePage()
|
|
|
+ ];
|
|
|
|
|
|
@override
|
|
|
Widget build(BuildContext context) {
|