Skip to main content

lynx_view_platform_interface 1.8.0 copy "lynx_view_platform_interface: ^1.8.0" to clipboard
lynx_view_platform_interface: ^1.8.0 copied to clipboard

A common platform interface for the lynx_view plugin.

1.8.0 #

  • LynxViewPlatform.setVisible(viewId, visible:), sent as setVisible on the per-view channel with {visible: bool}.

1.7.0 #

  • LynxAndroidViewMode and a matching androidViewMode argument on LynxViewPlatform.buildView. hybridCompositionPlusPlus builds the Android view with Flutter's Hybrid Composition++ (initHybridAndroidView) where the engine supports it and falls back to the texture-layer AndroidView everywhere else. The default is unchanged.
  • LynxViewPlatform.isAndroidHcppSupported reports whether that mode takes effect on the running device and app build.
  • Requires Flutter 3.32 (Dart 3.8) or newer — the first release with the HCPP API. Implementations that override buildView need the new argument.

1.6.0 #

  • LynxFontAsset — a font family name paired with the Flutter asset key of the file that provides it. Rides in creationParams under fonts, so the platform packages can register it before their native view exists.

1.5.0 #

  • LynxViewEventHandler.onReceivedError — recoverable errors (an <image> src that 404'd, a runtime warning) now arrive on their own callback instead of onLoadError. Default implementation ignores them, so existing handlers keep compiling.

1.4.0 #

  • Version bump only, to stay in lockstep with the other packages.

1.3.0 #

  • Version aligned across the federated packages so they move in lockstep; no functional change in this one.

1.2.0 #

  • Added LynxViewPlatform.trimMemory and LynxViewPlatform.queryMemoryUsage, carried over a new process-wide plugin channel (these are not per-view calls).
  • Added LynxMemoryPressureLevel, LynxMemoryUsage and LynxInstanceMemory.
  • Both new methods have throwing defaults, so existing platform implementations keep compiling.

1.0.0 #

  • Initial release: LynxViewPlatform interface and the shared MethodChannelLynxView implementation used by lynx_view_android/lynx_view_ios.
0
likes
130
points
93
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A common platform interface for the lynx_view plugin.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on lynx_view_platform_interface