openModal method

  1. @Deprecated('Add context param to W3MService and use openModalView() instead')
  2. @override
Future<void> openModal(
  1. BuildContext context, [
  2. 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);
}