Browse Source

update login screen

master
daivph 5 years ago
parent
commit
607684344b
5 changed files with 5 additions and 28 deletions
  1. +1
    -1
      ios/Flutter/.last_build_id
  2. +0
    -24
      lib/presentation/screens/login/view/login_form.dart
  3. +1
    -1
      lib/presentation/screens/login/view/widget_top_welcome.dart
  4. +2
    -1
      lib/presentation/screens/plot_detail/sc_plot_action.dart
  5. +1
    -1
      pubspec.yaml

+ 1
- 1
ios/Flutter/.last_build_id View File

eb141365fb69a4e0decadd2584d53516
40af80373277a16a0592f58ccbdc7f07

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

_LoginButton(), _LoginButton(),
const Padding(padding: EdgeInsets.all(6)), const Padding(padding: EdgeInsets.all(6)),
_FogotPasswordButton(), _FogotPasswordButton(),
_registerButton()
], ],
), ),
), ),
} }
} }


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 { class _UsernameInput extends StatelessWidget {
final FocusNode usernameFocus; final FocusNode usernameFocus;
final FocusNode nextFocus; final FocusNode nextFocus;

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

height: 40, height: 40,
), ),
Text("Ứng dụng"), Text("Ứng dụng"),
Text("Mô tả chi tiết ứng dụng"),
Text("Tiên Phong Farm"),
SizedBox( SizedBox(
height: 30, height: 30,
) )

+ 2
- 1
lib/presentation/screens/plot_detail/sc_plot_action.dart View File

child: ListTile( child: ListTile(
title: Text(item.activityTypeDescription ?? ''), title: Text(item.activityTypeDescription ?? ''),
subtitle: Text(item.executeDate.format_DDMMYY_HHmm()), subtitle: Text(item.executeDate.format_DDMMYY_HHmm()),
trailing: Text(item.id.toString()),
//TODO: remove when release
// trailing: Text(item.id.toString()),
), ),
), ),
onTap: () { onTap: () {

+ 1
- 1
pubspec.yaml View File

description: A new Flutter project. description: A new Flutter project.


publish_to: 'none' publish_to: 'none'
version: 1.0.0+1
version: 0.2.0+1


environment: environment:
sdk: ">=2.7.0 <3.0.0" sdk: ">=2.7.0 <3.0.0"

Loading…
Cancel
Save