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

@@ -1 +1 @@
eb141365fb69a4e0decadd2584d53516
40af80373277a16a0592f58ccbdc7f07

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

@@ -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;

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

@@ -20,7 +20,7 @@ class WidgetTopWelcome extends StatelessWidget {
height: 40,
),
Text("Ứng dụng"),
Text("Mô tả chi tiết ứng dụng"),
Text("Tiên Phong Farm"),
SizedBox(
height: 30,
)

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

@@ -357,7 +357,8 @@ class ItemInfinityWidget extends StatelessWidget {
child: ListTile(
title: Text(item.activityTypeDescription ?? ''),
subtitle: Text(item.executeDate.format_DDMMYY_HHmm()),
trailing: Text(item.id.toString()),
//TODO: remove when release
// trailing: Text(item.id.toString()),
),
),
onTap: () {

+ 1
- 1
pubspec.yaml View File

@@ -2,7 +2,7 @@ name: farm_tpf
description: A new Flutter project.

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

environment:
sdk: ">=2.7.0 <3.0.0"

Loading…
Cancel
Save