show<T> method
Implementation
Future<T?> show<T>({final bool isScrollControlled = true}) {
isOpened = true;
return showModalBottomSheet<T>(
context: context,
backgroundColor: Colors.transparent,
isScrollControlled: isScrollControlled,
useSafeArea: true,
builder: (_) => _buildBottomSheet(),
).then((value) {
isOpened = false;
return value;
});
}