Browse Source

fix bug #7344

master
daivph 5 years ago
parent
commit
6148a188fe
2 changed files with 4 additions and 9 deletions
  1. +2
    -2
      lib/presentation/screens/login/view/login_form.dart
  2. +2
    -7
      lib/presentation/screens/login/view/widget_top_welcome.dart

+ 2
- 2
lib/presentation/screens/login/view/login_form.dart View File

autovalidate: true, autovalidate: true,
validator: (_) { validator: (_) {
return state.username.invalid return state.username.invalid
? 'Vui lòng nhập tên đăng nhập'
? 'Vui lòng nhập tài khoản'
: null; : null;
}, },
onFieldSubmitted: (_) { onFieldSubmitted: (_) {
obscureText: false, obscureText: false,
textAlign: TextAlign.left, textAlign: TextAlign.left,
decoration: InputDecoration.collapsed( decoration: InputDecoration.collapsed(
hintText: 'Tên đăng nhập',
hintText: 'Tài khoản',
), ),
), ),
)); ));

+ 2
- 7
lib/presentation/screens/login/view/widget_top_welcome.dart View File

return Column( return Column(
children: <Widget>[ children: <Widget>[
SizedBox( SizedBox(
height: 41,
height: 80,
), ),
SizedBox( SizedBox(
width: 172, width: 172,
), ),
), ),
SizedBox( SizedBox(
height: 40,
height: 80,
), ),
Text("Ứng dụng"),
Text("Tiên Phong Farm"),
SizedBox(
height: 30,
)
], ],
); );
} }

Loading…
Cancel
Save