main.dart 542 B

123456789101112131415161718192021222324252627282930
  1. import 'package:flutter/material.dart';
  2. import 'package:pocketpy/pocketpy.dart';
  3. void main() {
  4. runApp(const MaterialApp(home: MyApp()));
  5. }
  6. class MyApp extends StatefulWidget {
  7. const MyApp({super.key});
  8. @override
  9. State<MyApp> createState() => _MyAppState();
  10. }
  11. class _MyAppState extends State<MyApp> {
  12. @override
  13. void initState() {
  14. test();
  15. super.initState();
  16. }
  17. @override
  18. Widget build(BuildContext context) {
  19. return const Scaffold(
  20. body: Center(
  21. child: Text("Hello World!"),
  22. ),
  23. );
  24. }
  25. }