|
|
|
|
@ -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,
|
|
|
|
|
|