lynx_view library

Classes

LynxFontAsset
A font file the host app ships as a Flutter asset, handed to Lynx so templates can select it by name.
LynxImageLoading
Process-wide switches for how <image> loads.
LynxInstanceMemory
What one live Lynx instance is holding, in bytes.
LynxLoadError
An error reported while loading a Lynx template bundle.
LynxMemory
Relays the platform's memory-pressure signal to Lynx.
LynxMemoryUsage
A process-wide snapshot of what Lynx is holding, and how that compares to the app's own footprint.
LynxMessage
A message delivered through the built-in FlutterBridge channel (JS -> Dart) or via LynxViewPlatform.sendEvent (Dart -> JS).
LynxView
Embeds LynxJS (https://lynxjs.org) as a native platform view.
LynxViewController
Owns one native LynxView instance for its lifetime, following the same ownership pattern as TextEditingController/VideoPlayerController: create it, pass it to a LynxView widget, and call dispose yourself (e.g. from State.dispose) when you're done with it.

Enums

LynxAndroidViewMode
How Android puts the native LynxView on screen. iOS ignores this.
LynxMemoryPressureLevel
How much memory Lynx should hand back when the platform reports pressure.

Typedefs

LynxLoadErrorCallback = void Function(LynxLoadError error)
LynxLoadSuccessCallback = void Function()
LynxMessageHandler = void Function(LynxMessage message)