showBottomSheet static method

void showBottomSheet({
  1. required String title,
  2. required List<Widget> content,
  3. String? subTitle,
  4. String? fontFamily,
  5. double? titleFontSize,
  6. double? minHeight,
  7. Widget? endWidget,
  8. Color? bottomSheetColor,
  9. Color? titleIconColor,
  10. Color? titleFontColor,
  11. double? titleIconSize,
  12. IconData? titleIcon,
  13. double? maxHeight,
  14. 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,
  );
}