import 'package:flutter/material.dart'; class AddOrderFab extends StatelessWidget { const AddOrderFab({super.key}); @override Widget build(final BuildContext context) => FloatingActionButton.small( heroTag: 'new_order_fab', onPressed: () { showModalBottomSheet( context: context, isScrollControlled: true, backgroundColor: Colors.transparent, builder: (final BuildContext context) => Padding( padding: MediaQuery.of(context).viewInsets, child: null, // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!111 ), ); }, child: const Icon(Icons.add_alarm_outlined), ); }