79200489

Date: 2024-11-18 15:25:55
Score: 2
Natty:
Report link

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?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Alexandre B.