|
|
|
@@ -58,7 +58,6 @@ class LoginForm extends StatelessWidget { |
|
|
|
_LoginButton(), |
|
|
|
const Padding(padding: EdgeInsets.all(6)), |
|
|
|
_FogotPasswordButton(), |
|
|
|
_registerButton() |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
@@ -82,29 +81,6 @@ class _FogotPasswordButton extends StatelessWidget { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
Widget _registerButton() { |
|
|
|
return Align( |
|
|
|
alignment: Alignment.bottomCenter, |
|
|
|
child: FlatButton( |
|
|
|
child: RichText( |
|
|
|
text: new TextSpan( |
|
|
|
style: new TextStyle( |
|
|
|
fontSize: 14.0, |
|
|
|
color: Colors.black, |
|
|
|
), |
|
|
|
children: <TextSpan>[ |
|
|
|
new TextSpan(text: 'Không có tài khoản? '), |
|
|
|
new TextSpan( |
|
|
|
text: 'Tạo mới.', |
|
|
|
style: new TextStyle( |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
color: COLOR_CONST.DEFAULT)), |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
onPressed: () {})); |
|
|
|
} |
|
|
|
|
|
|
|
class _UsernameInput extends StatelessWidget { |
|
|
|
final FocusNode usernameFocus; |
|
|
|
final FocusNode nextFocus; |