app.dart 351 B

1234567891011121314
  1. class AppUtils {
  2. /// The App will set this function for plugins switch between each other
  3. /// accountType(0:Substrate,1:evm)
  4. Future<void> Function(String network,
  5. {PageRouteParams? pageRoute, int accountType})? switchNetwork;
  6. }
  7. class PageRouteParams {
  8. PageRouteParams(this.path, {this.args});
  9. final String path;
  10. final Map? args;
  11. }