Flutter some default styling on new project

i’m starting on flutter, already sorry if it’s a noob question

Basically started with a new project and there I am getting an already applied theme

How to remove this?


enter image description here

>Solution :

Right now, you have a completely black screen because you don’t have a Scaffold widget.

The Scaffold widget is screen that will be displayed on your display.
You can add your Text widget in the body property of your Scaffold

return const MaterialApp(
    home: Scaffold(
       body: Text("Hello")

Leave a Reply