基础组件库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.dart 539 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
1234567891011121314151617181920212223242526
  1. import 'package:flutter/material.dart';
  2. import 'package:zhiying_base_widget/pages/home_page/home_page.dart';
  3. import 'package:zhiying_base_widget/register.dart';
  4. void main() => runApp(MyApp());
  5. class MyApp extends StatefulWidget {
  6. @override
  7. _MyAppState createState() => _MyAppState();
  8. }
  9. class _MyAppState extends State<MyApp> {
  10. @override
  11. void initState() {
  12. super.initState();
  13. BaseWidgetRegister.init();
  14. }
  15. @override
  16. Widget build(BuildContext context) {
  17. return MaterialApp(
  18. home: HomePage(),
  19. );
  20. }
  21. }