Added cross on pharmacy intervention bottom sheet

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

@ -597,7 +597,7 @@ class _HomeScreenState extends State<HomeScreen> {
} }
void _showErrorBottomSheet(BuildContext context, String errorMessage) { void _showErrorBottomSheet(BuildContext context, String errorMessage) {
showModalBottomSheet( showModalBottomSheet(
isDismissible:false, isDismissible:true,
enableDrag:false, enableDrag:false,
context: context, context: context,
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
@ -610,7 +610,20 @@ class _HomeScreenState extends State<HomeScreen> {
child: Column( child: Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ 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), const SizedBox(height: 10),
Text( Text(
TranslationBase.of(context).pharmacyIntervention, TranslationBase.of(context).pharmacyIntervention,

Loading…
Cancel
Save