main.dart 601 B

123456789101112131415161718192021222324252627282930313233
  1. import 'package:flutter/material.dart';
  2. void main() {
  3. runApp(const MyApp());
  4. }
  5. class MyApp extends StatefulWidget {
  6. const MyApp({Key? key}) : super(key: key);
  7. @override
  8. State<MyApp> createState() => _MyAppState();
  9. }
  10. class _MyAppState extends State<MyApp> {
  11. @override
  12. void initState() {
  13. super.initState();
  14. }
  15. @override
  16. Widget build(BuildContext context) {
  17. return MaterialApp(
  18. home: Scaffold(
  19. appBar: AppBar(
  20. title: const Text('Plugin example app'),
  21. ),
  22. body: const Center(
  23. child: Text(''),
  24. ),
  25. ),
  26. );
  27. }
  28. }