Skip to main content

liquid_shell_platform_interface 0.1.0-dev.14 copy "liquid_shell_platform_interface: ^0.1.0-dev.14" to clipboard
liquid_shell_platform_interface: ^0.1.0-dev.14 copied to clipboard

A common platform interface for the liquid_shell plugin. Glass fallback signals, the native iOS 26 chrome contract and the iPadOS window controls.

0.1.0-dev.14 #

  • Breaking. LiquidNativeSearchActiveChanged takes a named required bool active (LiquidNativeSearchActiveChanged(active: true)) instead of a positional bool; its toString names the field.
  • Changed: LiquidNativeChromeConfig.epoch (default 0, with copyWithEpoch) and LiquidNativeShellState.appliedEpoch (default 0), both in ==, hashCode and toString. The shell stamps every config with the epoch of its hand-over; a platform reports the epoch of the config it applied, so the shell knows whether its own config is the one shown. 0 is reserved for "not echoed": a platform that leaves it at 0 keeps the engagedApplied-only behaviour of 0.1.0-dev.13. Platform implementations should copy the epoch of each config they apply.

0.1.0-dev.13 #

  • The native state reports engagedApplied: whether the platform has applied an engaged config. The shell keeps its own page bar until it is true; a platform implementation should set it.

0.1.0-dev.12 #

  • The native state reports the screen side of the iPhone Duo's vertical bar (LiquidNativeVerticalBarSide).

0.1.0-dev.11 #

  • LiquidNativeChromeConfig.tabBarHidden (default false): hide the tab bar and the sidebar but keep the selected tab's navigation bar. It joins ==, hashCode and toString (VK-442).
  • LiquidNativePage.largeTitle applies to a tab's root page only; pushed pages are inline (VK-442).
  • Breaking (VK-443). Page actions: LiquidNativePageAction (sfSymbol, label, enabled), LiquidNativePage.actions (default empty) and the event LiquidNativePageActionTapped(tab, page:, index:, sfSymbol:). LiquidNativeEvent is sealed: an exhaustive switch over it needs the new case.

0.1.0-dev.10 #

Version bump to match liquid_shell.

0.1.0-dev.9 #

First release on pub.dev.

0.1.0-dev.8 #

  • Native minimize on scroll (VK-600): LiquidNativeChromeConfig.minimizeOnScroll (default false; the shell passes LiquidShell.minimizeOnScroll, which defaults to true), setNativeMinimizeScroll(tab, offset) and expandNativeTabBar(). Both methods have no-op defaults, so other platform implementations keep working.
  • Repeated error events on the signal channel are logged once, the first time, in debug builds only (VK-702). Each still emits LiquidPlatformSignals.none.

0.1.0-dev.7 #

  • Native search scopes (VK-550): LiquidNativeSearchConfig.scopes (the titles, two or more, or null), setNativeSearchScope(int) (default does nothing) and the event LiquidNativeSearchScopeChanged(index), a user's change of scope. LiquidNativeEvent is sealed: an exhaustive switch over it needs the new case.

0.1.0-dev.6 #

  • dismissNativeSearchKeyboard(), with a default that does nothing: puts the native search keyboard away and keeps the search (VK-571).

0.1.0-dev.5 #

  • Native search: LiquidNativeSearchConfig on LiquidNativeChromeConfig.search, and LiquidNativeTab.search.
  • Page stacks: LiquidNativePage and LiquidNativeTab.pages.
  • Six events: LiquidNativeSearchTextChanged, LiquidNativeSearchActiveChanged, LiquidNativeSearchSubmitted, LiquidNativeSearchFieldChanged, LiquidNativeBackTapped and LiquidNativePopToPage. LiquidNativeEvent is sealed: an exhaustive switch over it needs the new cases.
  • Three methods, with defaults that do nothing: setNativeSearchText, setNativeSearchActive and setNativePageScroll.

0.1.0-dev.4 #

  • LiquidPlatformSignals.lowEnd and glesOnly.

0.1.0-dev.3 #

  • supportsNativeDialogs, presentNativeDialog and the native dialog request/result types.

0.1.0-dev.2 #

  • Native chrome and window-control members on LiquidShellPlatform, all with defaults, and their value types (LiquidNativeShellState, LiquidNativeChromeConfig, LiquidNativeEvent, LiquidWindowControls).
  • LiquidNativeUnavailableReason has no notIPad (removed before release): native chrome runs on iPhone and on iPad, compact windows included.

0.1.0-dev.1 #

  • Initial development release.
0
likes
160
points
1.43k
downloads

Documentation

API reference

Publisher

verified publisherlasoai.vn

Weekly Downloads

A common platform interface for the liquid_shell plugin. Glass fallback signals, the native iOS 26 chrome contract and the iPadOS window controls.

Repository (GitHub)
View/report issues
Contributing

Topics

#navigation #glassmorphism #adaptive-layout #tab-bar #sidebar

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on liquid_shell_platform_interface