generate method

  1. @override
dynamic generate(
  1. dynamic theme
)
override

Implementation

@override
generate(dynamic theme) {
  if (theme == null) {
    if (style != null) {
      return BottomSheetThemeData();
    } else {
      return null;
    }
  } else {
    if (style != null) {
      return (theme as BottomSheetThemeData).copyWith();
    } else {
      return theme as BottomSheetThemeData;
    }
  }
}