页面结构初始化

This commit is contained in:
guozhigq
2023-04-18 11:02:19 +08:00
parent aae24126ce
commit aaccfe4542
17 changed files with 150 additions and 101 deletions

View File

View File

@ -0,0 +1,4 @@
library main;
export './controller.dart';
export './view.dart';

19
lib/pages/main/view.dart Normal file
View File

@ -0,0 +1,19 @@
import 'package:flutter/material.dart';
class MainApp extends StatefulWidget {
const MainApp({super.key});
@override
State<MainApp> createState() => _MainAppState();
}
class _MainAppState extends State<MainApp> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('main'),
),
);
}
}