⚡
Studio Aing
▶ Run
🔥 Hot Reload
Pixel 7 - Android 14
iPhone 15 - iOS 17
Share
CODE
EMULATOR
CONSOLE
EXPLORER
+
📁
android
📁
ios
📁
lib
📄
main.dart
📄
pubspec.yaml
📄 main.dart
lib/main.dart • Dart
import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Studio Aing', theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue), useMaterial3: true, ), home: const CounterPage(), ); } } class CounterPage extends StatefulWidget { const CounterPage({super.key}); @override State
createState() => _CounterPageState(); } class _CounterPageState extends State
{ int _counter = 0; void _increment() { setState(() { _counter++; }); } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Studio Aing')), body: Center(child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ const Text('You pushed the button:'), Text('$_counter', style: Theme.of(context).textTheme.headlineMedium), ], )), floatingActionButton: FloatingActionButton(onPressed: _increment, child: const Icon(Icons.add)), ); } }
● Emulator • Pixel 7
60 FPS
Studio Aing
You have pushed the button:
0
Tap + to test
+
CONSOLE • flutter run
Clear
✓ Connected to Emulator
Launching lib/main.dart on Pixel 7...
√ Built in 12.4s
✓ Running. Tap + to test hot reload.