Package io.flutter.embedding.engine.dart
Class DartExecutor.DartCallback
- java.lang.Object
-
- io.flutter.embedding.engine.dart.DartExecutor.DartCallback
-
- Enclosing class:
- DartExecutor
public static class DartExecutor.DartCallback extends Object
Configuration options that specify which Dart callback function is executed and where to find that callback and other assets required for Dart execution.
-
-
Field Summary
Fields Modifier and Type Field Description AssetManager
androidAssetManager
Standard Android AssetManager, provided from someContext
orResources
.FlutterCallbackInformation
callbackHandle
A Dart callback that was previously registered with the Dart VM.String
pathToBundle
The path within the AssetManager where the app will look for assets.
-
Constructor Summary
Constructors Constructor Description DartCallback(AssetManager androidAssetManager, String pathToBundle, FlutterCallbackInformation callbackHandle)
-
-
-
Field Detail
-
androidAssetManager
public final AssetManager androidAssetManager
Standard Android AssetManager, provided from someContext
orResources
.
-
pathToBundle
public final String pathToBundle
The path within the AssetManager where the app will look for assets.
-
callbackHandle
public final FlutterCallbackInformation callbackHandle
A Dart callback that was previously registered with the Dart VM.
-
-
Constructor Detail
-
DartCallback
public DartCallback(@NonNull AssetManager androidAssetManager, @NonNull String pathToBundle, @NonNull FlutterCallbackInformation callbackHandle)
-
-