irondash_engine_context

Last updated:

0 purchases

irondash_engine_context Image
irondash_engine_context Images
Add to Cart

Description:

irondash engine context

irondash_engine_context #
Flutter plugin that provides access to Flutter engine components (like view or texture registrar) from native code.
Example #
Dart code:
import 'package:irondash_engine_context/irondash_engine_context.dart';

final handle = await EngineContext.instance.getEngineHandle();
// pass the handle native code (i.e. through FFI).
nativeMethod(handle);
copied to clipboard
Rust code:
use irondash_engine_context::EngineContext;

let context = EngineContext::get().unwrap();
let flutter_view = context.get_flutter_view(handle);
let texture_registry = context.get_texture_registry(handle);
copied to clipboard
On Android, EngineContext can provide JavaVM instance and class loader that
has loaded Flutter application:
let java_vm = EngineContext::get_java_vm()?;
let class_loader = EngineContext::get_class_loader()?;
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.