mirror of
				https://github.com/pocketpy/pocketpy
				synced 2025-10-30 16:30:16 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			542 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			542 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| import 'package:flutter/material.dart';
 | |
| import 'package:pocketpy/pocketpy.dart';
 | |
| 
 | |
| void main() {
 | |
|   runApp(const MaterialApp(home: MyApp()));
 | |
| }
 | |
| 
 | |
| class MyApp extends StatefulWidget {
 | |
|   const MyApp({super.key});
 | |
| 
 | |
|   @override
 | |
|   State<MyApp> createState() => _MyAppState();
 | |
| }
 | |
| 
 | |
| class _MyAppState extends State<MyApp> {
 | |
|   @override
 | |
|   void initState() {
 | |
|     test();
 | |
|     super.initState();
 | |
|   }
 | |
| 
 | |
|   @override
 | |
|   Widget build(BuildContext context) {
 | |
|     return const Scaffold(
 | |
|       body: Center(
 | |
|         child: Text("Hello World!"),
 | |
|       ),
 | |
|     );
 | |
|   }
 | |
| }
 |