Package io.flutter.embedding.engine.dart
Class DartExecutor.DartCallback
java.lang.Object
io.flutter.embedding.engine.dart.DartExecutor.DartCallback
- Enclosing class:
- DartExecutor
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
Modifier and TypeFieldDescriptionfinal AssetManager
Standard Android AssetManager, provided from someContext
orResources
.A Dart callback that was previously registered with the Dart VM.final String
The path within the AssetManager where the app will look for assets. -
Constructor Summary
ConstructorDescriptionDartCallback
(AssetManager androidAssetManager, String pathToBundle, FlutterCallbackInformation callbackHandle) -
Method Summary
-
Field Details
-
androidAssetManager
Standard Android AssetManager, provided from someContext
orResources
. -
pathToBundle
The path within the AssetManager where the app will look for assets. -
callbackHandle
A Dart callback that was previously registered with the Dart VM.
-
-
Constructor Details
-
DartCallback
public DartCallback(@NonNull AssetManager androidAssetManager, @NonNull String pathToBundle, @NonNull FlutterCallbackInformation callbackHandle)
-
-
Method Details