openNetworks method

  1. @Deprecated('Add context param to W3MService and use openNetworksView() instead')
  2. @override
Future<void> openNetworks(
  1. BuildContext context
)
override

Implementation

@Deprecated(
    'Add context param to W3MService and use openNetworksView() instead')
@override
Future<void> openNetworks(BuildContext context) async {
  return _showModalView(
    context: context,
    startWidget: SelectNetworkPage(
      onTapNetwork: (info) {
        selectChain(info);
        widgetStack.instance.addDefault();
      },
    ),
  );
}