Added cross on pharmacy intervention bottom sheet

update_3.16.0_CR5439_Pharmacy_Intervention
Sultan Khan 9 months ago
parent ef62cb25dd
commit 1f007084c0

@ -597,7 +597,7 @@ class _HomeScreenState extends State<HomeScreen> {
}
void _showErrorBottomSheet(BuildContext context, String errorMessage) {
showModalBottomSheet(
isDismissible:false,
isDismissible:true,
enableDrag:false,
context: context,
shape: RoundedRectangleBorder(
@ -610,7 +610,20 @@ class _HomeScreenState extends State<HomeScreen> {
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Icon(Icons.error_outline, color: Colors.red, size: 40),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Icon(Icons.error_outline, color: Colors.red, size: 40),
InkWell(
onTap: () {
Navigator.pop(context);
},
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Icon(Icons.close,color: Colors.red,),
))
],
),
const SizedBox(height: 10),
Text(
TranslationBase.of(context).pharmacyIntervention,

Loading…
Cancel
Save