ajustes para exibir e salvos dados no cadastro individual e visita domiciliar
This commit is contained in:
@@ -22,6 +22,7 @@ import '../../widgets/input_with_subtitle.dart';
|
||||
import '../../widgets/onbackbutton.dart';
|
||||
import '../../widgets/text_default.dart';
|
||||
import '../../widgets/title_containers.dart';
|
||||
import '../home_screen.dart';
|
||||
|
||||
class ServiceHomeScreen extends StatefulWidget {
|
||||
String name;
|
||||
@@ -286,6 +287,7 @@ class _ServiceHomeScreenState extends State<ServiceHomeScreen> {
|
||||
'Atendimento Domiciliar salvo com sucesso!',
|
||||
'OK'
|
||||
);
|
||||
Navigator.pushAndRemoveUntil(context, MaterialPageRoute(builder: (context)=>HomeScreen(username: widget.username)), (route) => false);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -531,7 +533,7 @@ class _ServiceHomeScreenState extends State<ServiceHomeScreen> {
|
||||
TitleContainers(title: 'Condição Avaliada',width: width * 0.73),
|
||||
Container(
|
||||
width: width*0.7,
|
||||
height: heigth*1.3,
|
||||
height: heigth*0.95,
|
||||
child: ListView.builder(
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
itemCount: ConstVariable().serviceHomeCheckConditionlist.length,
|
||||
@@ -633,7 +635,7 @@ class _ServiceHomeScreenState extends State<ServiceHomeScreen> {
|
||||
padding: const EdgeInsets.symmetric(horizontal: 10.0),
|
||||
child: Container(
|
||||
width: width*0.7,
|
||||
height: heigth*1.2,
|
||||
height: heigth*0.9,
|
||||
child: ListView.builder(
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
itemCount: ConstVariable().serviceHomeCheckProclist.length,
|
||||
|
||||
Reference in New Issue
Block a user