Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scaffold(
- body: SafeArea(
- child: Design(
- style: "col flex-grow justify-center",
- children: [
- Design(
- style: "flex-col flex-grow justify-center",
- children: [
- Center(
- child: FlutterLogo(),
- ),
- Design(
- style: "p-5 justify-start",
- child: Text("Username"),
- ),
- Design(
- style: "col px-5 justify-start",
- child: TextField(
- controller: username,
- decoration: InputDecoration(
- hintText: "Username",
- border: inputStyle,
- ),
- ),
- ),
- Design(
- style: "p-5 justify-start",
- child: Text("Password"),
- ),
- Design(
- style: "col px-5 justify-start",
- child: TextField(
- controller: username,
- decoration: InputDecoration(
- hintText: "Password",
- border: inputStyle,
- ),
- ),
- ),
- ],
- ),
- Design(
- style: "row justify-end p-5",
- child: FlatButton(
- color: Colors.blue,
- child: Design(
- style: "px-10",
- child: Text(
- "Submit",
- style: TextStyle(color: Colors.white),
- ),
- ),
- onPressed: state.increase),
- )
- ],
- )),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement