Я написал эти строки кода, и в Visual Studio и dartpad.dev/flutter ошибок нет, но в них обоих я не могу отладить его, я не знаю почему. Может кто-нибудь мне поможет ... вот код
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
void main(List<String> args) { MaterialApp(
title: 'zinwar',
home:MyApp() , ); }
class MyApp extends StatefulWidget{
@override State<StatefulWidget> createState() {
return MyAppState() ; }
}
class MyAppState extends State<MyApp> {
@override Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
appBar: AppBar(
backgroundColor: Colors.blue,
actions: <Widget>[],
leading: IconButton(
onPressed: () { },
icon: Icon(Icons.arrow_back),
),
),
body: Center(
child: Text('HELLO I AM ZINWARM NICE TO MEET YOU'),
),
); }
}