dynamic_glass_glmv 0.2.4 copy "dynamic_glass_glmv: ^0.2.4" to clipboard
dynamic_glass_glmv: ^0.2.4 copied to clipboard

A Flutter package for reusable dynamic glass UI surfaces and adaptive platform bottom navigation.

Changelog #

0.2.4 #

  • Swift Package Manager — requires cupertino_native_glmv ^0.1.6, which adds Swift Package Manager support for iOS and macOS. This package is pure Dart and needed no changes of its own, but the previous ^0.1.5 constraint let pub resolve back to the CocoaPods-only 0.1.5, so apps could still hit Flutter's "does not support Swift Package Manager" warning. Requiring ^0.1.6 makes that impossible.
  • Raises the minimum Flutter to 3.42.0 to match, rather than silently downgrading cupertino_native_glmv on older SDKs.

0.2.3 #

  • Native bar re-tap — bumps cupertino_native_glmv to ^0.1.5, which reports a tap on the already-active tab on the iOS 26 native bar (Ios26NativeTabBar / AdaptiveBottomNavigationBar). onTap now fires on a re-tap with the same index, matching the Flutter GlassPillNavBar fallback, so hosts can pop the active tab's navigation stack to root.

0.2.2 #

  • GlassPillNavBar gradient borderGlassPillNavBarStyle now accepts a borderGradient. When set, the bar paints a faked gradient ring: an outer shape filled with the gradient, inset by borderWidth to reveal the blurred fill. It takes precedence over borderColor, and the bar's drop shadows move to the outer ring so they stay outside the blur. Carried through copyWith.

0.2.1 #

  • Require cupertino_native_glmv: ^0.1.4 (was ^0.1.3) to guarantee the native UISegmentedControl drag-gesture fix, so DynamicSegmentedControl's iOS 26 selection thumb follows the user's finger instead of only responding to taps.

0.2.0 #

Features #

  • Adaptive native controls — thin wrappers around cupertino_native_glmv that embed the real platform control on iOS/macOS (liquid glass on iOS 26) and fall back to Flutter elsewhere. Each re-exports its native parameters 1:1 under the Dynamic* namespace:
    • DynamicSwitchUISwitch / NSSwitch. Includes DynamicSwitchController for imperative value/enabled updates.
    • DynamicSliderUISlider / NSSlider with min / max / step and track/thumb colors. Includes DynamicSliderController.
    • DynamicSegmentedControlUISegmentedControl, with labels and/or per-segment SF Symbols.
    • DynamicButtonUIButton / NSButton; text and round .icon variants. DynamicButtonStyle (incl. glass / prominentGlass).
    • DynamicPopupMenuButton — native popup button with text or .icon trigger; DynamicPopupMenuItem / DynamicPopupMenuDivider entries.
    • DynamicIcon — native SF Symbol rendering (monochrome / hierarchical / palette / multicolor).
    • DynamicSymbol / DynamicSymbolRenderingMode / DynamicButtonStyle — re-exported style types.
  • Value controls follow the Material convention: a null change callback (or enabled: false) renders the control disabled.

0.1.1 #

New #

  • GlassContainer — a Container-like widget with a frosted-glass surface.
    • On iOS 26+ uses the system UIGlassEffect (liquid-glass material) via a native platform view — the same material used by AdaptiveBottomNavigationBar.
    • On all other platforms (Android, web, macOS, Windows, Linux, older iOS) uses a Flutter BackdropFilter blur + tint overlay that works everywhere.
    • Parameters: child, width, height, constraints, alignment, padding, margin, blur, tintColor, tintOpacity, tintGradient, borderRadius, border, shadows, clipBehavior.
    • Set tintOpacity: 0 on iOS 26+ for a pure native-glass look with no tint overlay.

0.1.0 #

Initial stable release.

Features #

  • DynamicGlass — frosted-glass surface widget (BackdropFilter + tint + radius). Pure Flutter, runs everywhere.
  • AdaptiveBottomNavigationBar — picks the right renderer at runtime:
    • iOS 26+ (useNativeBottomBar: true) → IOS26NativeTabBar → native UITabBarController / liquid-glass material via cupertino_native_gl.
    • All other platforms → GlassPillNavBar.
  • GlassPillNavBar — floating frosted-glass pill bar with an animated sliding selection indicator. Styled after modern Telegram Android.
    • GlassPillNavBarStyle — immutable style object covering bar color/gradient, blur sigma, border radius, pill dimensions, animation curve & duration, label typography, and tap feedback (none / ripple / scale).
    • GlassPillIconBuilder / GlassPillLabelBuilder callbacks for custom icon and label rendering.
    • showLabels: false for icon-only mode; showPill: false for a pill-less highlight style.
  • DynamicGlassNavigationScaffold — convenience scaffold that wires body, bar, and safe area together.
  • AdaptiveNavigationDestination — cross-platform destination descriptor supporting SF Symbol names, asset paths, AssetImage, IconData, and arbitrary widgets. Fields: label, icon, selectedIcon, badgeCount, isSearch, hideLabel, addSpacerAfter.
  • IOS26NativeTabBar — thin adapter mapping AdaptiveNavigationDestination to CNTabBarItem / CNTabBar. Supports badges, UISearchTab, split layout, and minimizeBehavior.
  • PlatformInfo — iOS major-version detection in pure Dart.
  • iOS 26 exclusive: TabBarMinimizeBehavior enum (never, onScrollDown, onScrollUp, automatic), split / rightCount / splitSpacing side-pill layout.
7
likes
150
points
142
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for reusable dynamic glass UI surfaces and adaptive platform bottom navigation.

Repository (GitHub)
View/report issues

Topics

#flutter #widget #glassmorphism #blur #ui

License

BSD-3-Clause (license)

Dependencies

cupertino_icons, cupertino_native_glmv, flutter, flutter_svg

More

Packages that depend on dynamic_glass_glmv