showBottomSheet static method
void
showBottomSheet({
- required String title,
- required List<
Widget> content, - String? subTitle,
- String? fontFamily,
- double? titleFontSize,
- double? minHeight,
- Widget? endWidget,
- Color? bottomSheetColor,
- Color? titleIconColor,
- Color? titleFontColor,
- double? titleIconSize,
- IconData? titleIcon,
- double? maxHeight,
- EdgeInsets? padding,
Implementation
static void showBottomSheet({required String title,
required List<Widget> content,
String? subTitle,
String? fontFamily,
double? titleFontSize,
double? minHeight,
Widget? endWidget,
Color? bottomSheetColor,
Color? titleIconColor,
Color? titleFontColor,
double? titleIconSize,
IconData? titleIcon,
double? maxHeight,
EdgeInsets? padding}) {
Get.bottomSheet(
Wrap(
children: [
SafeArea(
child: GNCustomBottomSheet(
title: title,
content: content,
subTitle: subTitle,
fontFamily: fontFamily,
minHeight: minHeight,
maxHeight: maxHeight,
titleFontSize: titleFontSize,
padding: padding,
endWidget: endWidget,
bottomSheetColor:bottomSheetColor ,
titleFontColor: titleFontColor,
titleIcon: titleIcon,
titleIconColor: titleIconColor,
titleIconSize: titleIconSize,
),
),
],
),
isScrollControlled: true,
);
}