页面结构初始化
This commit is contained in:
0
lib/pages/main/controller.dart
Normal file
0
lib/pages/main/controller.dart
Normal file
4
lib/pages/main/index.dart
Normal file
4
lib/pages/main/index.dart
Normal file
@ -0,0 +1,4 @@
|
||||
library main;
|
||||
|
||||
export './controller.dart';
|
||||
export './view.dart';
|
19
lib/pages/main/view.dart
Normal file
19
lib/pages/main/view.dart
Normal 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'),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user