Last active
April 23, 2020 09:23
-
-
Save iterpugov/df0c727f7b50671d5c1eeb10fbc676e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LoginWidget extends StatefulWidget { | |
createState() => LoginWidgetState(); | |
} | |
class LoginWidgetState extends State<LoginWidget> { | |
build() { | |
return Scaffold( | |
appBar: AppBar( | |
leading: IconButton( | |
onPressed: () => this.onGroupPressed(context), | |
icon: Image.asset("group-2.png"), | |
), | |
), | |
body: Container( | |
containerProps: "TODO", | |
child: Column(children: [ | |
Text( | |
"Log in", | |
textAlign: TextAlign.x2, | |
), | |
Text( | |
"Welcome back. The galaxy awaits you.", | |
textAlign: TextAlign.x2, | |
), | |
Container( | |
containerProps: "TODO", | |
child: Column(children: [ | |
TextField(todo: "decoration, maxlines, autocorrect"), | |
Container( | |
containerProps: "TODO", child: Column(children: [])), | |
TextField(todo: "decoration, maxlines, autocorrect"), | |
])), | |
FlatButton( | |
onPressed: () => this.onLoginPressed(context), | |
child: Text( | |
"LOG IN", | |
textAlign: TextAlign.x2, | |
), | |
), | |
FlatButton( | |
onPressed: () => this.onForgotYourPasswordPressed(context), | |
child: Text( | |
"Forgot your password?", | |
textAlign: TextAlign.x2, | |
), | |
), | |
]))); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment