inserido o progress indicator
This commit is contained in:
@@ -11,6 +11,7 @@ import '../../controllers/main_controllers.dart';
|
||||
import '../../service/api/api_data_load.dart';
|
||||
import '../../service/db/db_sqlite_load.dart';
|
||||
import '../../service/shared_preferences/shared_preferences_service.dart';
|
||||
import '../../widgets/title_input.dart';
|
||||
class SyncLoginScreen extends StatefulWidget {
|
||||
|
||||
@override
|
||||
@@ -197,26 +198,27 @@ class _SyncLoginScreenState extends State<SyncLoginScreen> {
|
||||
autovalidateMode: AutovalidateMode.onUserInteraction,
|
||||
child: Container(
|
||||
width: width*0.6,
|
||||
height: height*0.35,
|
||||
height: height*0.4,
|
||||
child: ListView(
|
||||
children: [
|
||||
TitleInput(title:'Usuário'),
|
||||
InputText(
|
||||
hint: 'Usuário',
|
||||
label: inputUser.text.isNotEmpty?'':'Usuário',
|
||||
title: 'Usuário',
|
||||
controller: inputUser,
|
||||
width: width*0.6,
|
||||
colorBorder: Colors.white,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
TitleInput(title:'Senha'),
|
||||
InputText(
|
||||
hint: 'Senha',
|
||||
label: inputPassword.text.isNotEmpty?'':'Senha',
|
||||
title: 'Senha',
|
||||
obscure: true,
|
||||
controller: inputPassword,
|
||||
width: width*0.6,
|
||||
colorBorder: Colors.white,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
TitleInput(title:'Unidade'),
|
||||
DropDownButtonDefault(
|
||||
width: width*0.7,
|
||||
title: 'Unidade',
|
||||
@@ -231,6 +233,7 @@ class _SyncLoginScreenState extends State<SyncLoginScreen> {
|
||||
getTeam();
|
||||
},
|
||||
),
|
||||
TitleInput(title:'Equipe'),
|
||||
DropDownButtonDefault(
|
||||
width: width*0.7,
|
||||
title: 'Equipe',
|
||||
|
||||
Reference in New Issue
Block a user