of static method
Returns the data from the closest BottomSheetTheme ancestor. If there is no ancestor, it returns ThemeData.bottomSheetTheme. Applications can assume that the returned value will not be null.
Typical usage is as follows:
BottomSheetThemeData theme = BottomSheetTheme.of(context);
Implementation
static BottomSheetThemeData of(BuildContext context) {
return BottomSheetThemeData.standard(FluentTheme.of(context)).merge(
_getInheritedThemeData(context),
);
}