Did you tried a very simple test to start?
main.dart:
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Test',
home: const Test(),
);
}
}
Test.dart:
class Test extends StatelessWidget {
const Test({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(height: 200, width: 200, color: Colors.red),
);
}
}
Is a very simple example to test. Try to run on a Windows and Chrome. Do you are using Android Studio?