of static method
获取 _BottomDialogWrapperState
Implementation
static _BottomDialogWrapperState? of(BuildContext context) {
if (context.widget is BottomDialogWrapper)
return (context as StatefulElement).state as _BottomDialogWrapperState<dynamic>?;
final _BottomDialogWrapperState? state =
context.findAncestorStateOfType<_BottomDialogWrapperState>();
return state;
}