versão 1.0.14+15 AJUSTADA A ALTURA DA LISTA DOS PROCEDIMENTOS E DO ACOMPANHAMENTO, E A MENSAGEM DE AVISO DE NÃO SALVAR QUANDO ESTIVER EM EDIÇÃO. 29/08/2024
This commit is contained in:
@@ -755,7 +755,7 @@ class _RegisterCitizenScreenState extends State<RegisterCitizenScreen> {
|
||||
double width = MediaQuery.of(context).size.width;
|
||||
|
||||
return WillPopScope(
|
||||
onWillPop:showTab?null: () async => await OnBackButton().onBackButton(context, widget.username),
|
||||
onWillPop:edit?null: () async => await OnBackButton().onBackButton(context, widget.username),
|
||||
child: Scaffold(
|
||||
appBar: AppBarDefault().appbar(context, 'RKM AB - Cadastro Cidadão',widget.username),
|
||||
body: Container(
|
||||
|
||||
@@ -467,7 +467,7 @@ class _RegisterHomeScreenState extends State<RegisterHomeScreen> {
|
||||
double width = MediaQuery.of(context).size.width;
|
||||
|
||||
return WillPopScope(
|
||||
onWillPop: ()async => await OnBackButton().onBackButton(context, widget.username),
|
||||
onWillPop: !edit?null:()async => await OnBackButton().onBackButton(context, widget.username),
|
||||
child: Scaffold(
|
||||
appBar: AppBarDefault().appbar(context, 'RKM AB - Cadastro Domiciliar',widget.username),
|
||||
body: Container(
|
||||
|
||||
@@ -654,7 +654,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
double width = MediaQuery.of(context).size.width;
|
||||
|
||||
return WillPopScope(
|
||||
onWillPop: showTab?null:()async=> await OnBackButton().onBackButton(context, widget.username),
|
||||
onWillPop: !edit?null:()async=> await OnBackButton().onBackButton(context, widget.username),
|
||||
child: Scaffold(
|
||||
appBar: AppBarDefault().appbar(context, 'RKM AB - Cadastro Individual',widget.username),
|
||||
body: Container(
|
||||
|
||||
@@ -668,7 +668,7 @@ class _AtendimentoDomiciliarTelaState extends State<AtendimentoDomiciliarTela> {
|
||||
TitleContainers(title: 'Condição Avaliada',width: width * 0.73),
|
||||
widget.dados!=null && serviceHomeModel.length !=ConstVariable().serviceHomeCheckConditionlist.length?Container():Container(
|
||||
width: width*0.7,
|
||||
height: heigth*0.95,
|
||||
height: 1160,
|
||||
child: ListView.builder(
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
itemCount: ConstVariable().serviceHomeCheckConditionlist.length,
|
||||
@@ -772,7 +772,7 @@ class _AtendimentoDomiciliarTelaState extends State<AtendimentoDomiciliarTela> {
|
||||
padding: const EdgeInsets.symmetric(horizontal: 10.0),
|
||||
child: Container(
|
||||
width: width*0.7,
|
||||
height: heigth*0.9,
|
||||
height: 970,
|
||||
child: ListView.builder(
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
itemCount: ConstVariable().serviceHomeCheckProclist.length,
|
||||
|
||||
@@ -793,7 +793,7 @@ class _VisitaDomiciliarTelaState extends State<VisitaDomiciliarTela> {
|
||||
TitleContainers(title: 'Acompanhamento',width: width*0.7,textAling: TextAlign.start,fontSize: 15),
|
||||
Container(
|
||||
width: width*0.7,
|
||||
height: heigth*0.9,
|
||||
height: 1060,
|
||||
child: widget.dados!=null && tipoAcompanhamentoModel.isEmpty?Container():ListView.builder(
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
itemCount: ConstVariable().tipoAcompanhamentoModel.length,
|
||||
@@ -818,7 +818,7 @@ class _VisitaDomiciliarTelaState extends State<VisitaDomiciliarTela> {
|
||||
TitleContainers(title: 'Outros',width: width*0.7,textAling: TextAlign.start,fontSize: 15),
|
||||
Container(
|
||||
width: width*0.7,
|
||||
height: heigth*0.22,
|
||||
height: 200,
|
||||
child: outrosModel.isEmpty && widget.dados!=null?Container():ListView.builder(
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
itemCount: ConstVariable().outrosModel.length,
|
||||
|
||||
Reference in New Issue
Block a user