liquid_shell_platform_interface 0.1.0-dev.14
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.
LiquidNativeSearchActiveChangedtakes a namedrequired bool active(LiquidNativeSearchActiveChanged(active: true)) instead of a positional bool; itstoStringnames the field. - Changed:
LiquidNativeChromeConfig.epoch(default 0, withcopyWithEpoch) andLiquidNativeShellState.appliedEpoch(default 0), both in==,hashCodeandtoString. 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 theengagedApplied-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(defaultfalse): hide the tab bar and the sidebar but keep the selected tab's navigation bar. It joins==,hashCodeandtoString(VK-442).LiquidNativePage.largeTitleapplies 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 eventLiquidNativePageActionTapped(tab, page:, index:, sfSymbol:).LiquidNativeEventis sealed: an exhaustiveswitchover 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(defaultfalse; the shell passesLiquidShell.minimizeOnScroll, which defaults totrue),setNativeMinimizeScroll(tab, offset)andexpandNativeTabBar(). 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 eventLiquidNativeSearchScopeChanged(index), a user's change of scope.LiquidNativeEventis sealed: an exhaustiveswitchover 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:
LiquidNativeSearchConfigonLiquidNativeChromeConfig.search, andLiquidNativeTab.search. - Page stacks:
LiquidNativePageandLiquidNativeTab.pages. - Six events:
LiquidNativeSearchTextChanged,LiquidNativeSearchActiveChanged,LiquidNativeSearchSubmitted,LiquidNativeSearchFieldChanged,LiquidNativeBackTappedandLiquidNativePopToPage.LiquidNativeEventis sealed: an exhaustiveswitchover it needs the new cases. - Three methods, with defaults that do nothing:
setNativeSearchText,setNativeSearchActiveandsetNativePageScroll.
0.1.0-dev.4 #
LiquidPlatformSignals.lowEndandglesOnly.
0.1.0-dev.3 #
supportsNativeDialogs,presentNativeDialogand 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). LiquidNativeUnavailableReasonhas nonotIPad(removed before release): native chrome runs on iPhone and on iPad, compact windows included.
0.1.0-dev.1 #
- Initial development release.