I am new to flutter. I want to achieve like this. but my visual studio code keep saying an error
CodePudding user response:
Change Theme According to your requirements
Scaffold(
appBar: AppBar(
title: Text("Login Screen App"),
),
body: Column(
children: [
Text("Code Playon"),
TextFormField(
decoration: InputDecoration(
hintText: "User Name"
),
)
],
),
);
CodePudding user response:
CodePudding user response:
Check that you have a
MaterialApp
widget
at the root of your widget's tree, and a
Scaffold
widget
encapsulating your Search
widget and you should be good to go!