showModal method
void
showModal(
- dynamic context
This gives the bottom sheet widget.
Implementation
void showModal(context) {
showModalBottomSheet(
isScrollControlled: true,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(top: Radius.circular(15.0)),
),
context: context,
builder: (context) {
return StatefulBuilder(
builder: (BuildContext context, StateSetter setState) {
return SpinnerBottomSheet(spinner: spinner);
},
);
},
);
}