pushReplacementAsset static method

StacNavigateAction pushReplacementAsset(
  1. String assetPath, {
  2. Map<String, dynamic>? result,
})

Replaces the current route with a screen loaded from a local asset file.

Implementation

static StacNavigateAction pushReplacementAsset(
  String assetPath, {
  Map<String, dynamic>? result,
}) {
  return StacNavigateAction(
    navigationStyle: NavigationStyle.pushReplacement,
    assetPath: assetPath,
    result: result,
  );
}