Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 1.69 KB | None | 0 0
  1. Scaffold(
  2.       body: SafeArea(
  3.           child: Design(
  4.         style: "col flex-grow justify-center",
  5.         children: [
  6.           Design(
  7.             style: "flex-col flex-grow justify-center",
  8.             children: [
  9.               Center(
  10.                 child: FlutterLogo(),
  11.               ),
  12.               Design(
  13.                 style: "p-5 justify-start",
  14.                 child: Text("Username"),
  15.               ),
  16.               Design(
  17.                 style: "col px-5 justify-start",
  18.                 child: TextField(
  19.                   controller: username,
  20.                   decoration: InputDecoration(
  21.                     hintText: "Username",
  22.                     border: inputStyle,
  23.                   ),
  24.                 ),
  25.               ),
  26.               Design(
  27.                 style: "p-5 justify-start",
  28.                 child: Text("Password"),
  29.               ),
  30.               Design(
  31.                 style: "col px-5 justify-start",
  32.                 child: TextField(
  33.                   controller: username,
  34.                   decoration: InputDecoration(
  35.                     hintText: "Password",
  36.                     border: inputStyle,
  37.                   ),
  38.                 ),
  39.               ),
  40.             ],
  41.           ),
  42.           Design(
  43.             style: "row justify-end p-5",
  44.             child: FlatButton(
  45.                 color: Colors.blue,
  46.                 child: Design(
  47.                   style: "px-10",
  48.                   child: Text(
  49.                     "Submit",
  50.                     style: TextStyle(color: Colors.white),
  51.                   ),
  52.                 ),
  53.                 onPressed: state.increase),
  54.           )
  55.         ],
  56.       )),
  57.     );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement