openModal method
- @Deprecated('Add context param to W3MService and use openModalView() instead')
- @override
- BuildContext context, [
- Widget? startWidget
override
Opens the modal with the provided startWidget
(if any).
If none is provided, the default state will be used based on platform.
Implementation
@Deprecated('Add context param to W3MService and use openModalView() instead')
@override
Future<void> openModal(BuildContext context, [Widget? startWidget]) async {
return _showModalView(context: context, startWidget: startWidget);
}