openFlutterPage static method

Future? openFlutterPage(
  1. String pageName, {
  2. Map<String, dynamic>? params,
  3. dynamic function(
    1. dynamic funParam
    )?,
  4. bool transparentRoute = false,
  5. bool fullscreenDialog = false,
  6. bool needClearStack = false,
  7. bool needCloseCurrent = false,
})

打开Flutter页面

Implementation

static Future<dynamic>? openFlutterPage(
  String pageName, {
  Map<String, dynamic>? params,
  Function(dynamic funParam)? function,
  bool transparentRoute = false,
  bool fullscreenDialog = false,
  bool needClearStack = false,
  bool needCloseCurrent = false,
}) {
  return instance._router?.openFlutterPage(
    pageName,
    params: params,
    function: function,
    transparentRoute: transparentRoute,
    fullscreenDialog: fullscreenDialog,
    needClearStack: needClearStack,
    needCloseCurrent: needCloseCurrent,
  );
}