prime_flutter 0.2.19 copy "prime_flutter: ^0.2.19" to clipboard
prime_flutter: ^0.2.19 copied to clipboard

Pretty Rad Interactive Modular Elements. A collection of UI elements for Flutter, implementing Viam's design system.

0.2.19 #

  • Add defaultTextStyle to Toast text so it avoids yellow udnerline

0.2.18 #

  • Added centerTitle parameter to PrimeAppBar. Defaults to true. When false, leading + title + actions lay out in a Row with the title in Expanded for clean overflow, and the leading slot is no longer icon-width-constrained.
  • Added onPressed callback to Avatar. When provided, the avatar becomes interactive — it darkens on hover (10% black scrim) and press (20% black scrim) and shows a click cursor on web/desktop.

0.2.17 #

  • Added ListItemGroup widget.
  • Added surfaceHover token to PrimeColorScheme for a light → medium → dark progression on hover/press states. BREAKING for code that constructs PrimeColorScheme directly — surfaceHover is now required.
  • Reworked interactive color animation on ListItem and Button:
    • ListItem hover/press now step through surfaceOffsetsurfaceHoversurfaceHighlight instead of jumping directly to the press color.
    • Fixed mid-tween dark flash on the standard ListItem variant (caused by interpolating from transparent black).
    • Primary Button now darkens through three phases (gray9gray9_5 → pure black) to match Prime web's primary action.
  • Added grayscale primitives gray1_5, gray7_5, gray9_5, and black to PrimeColors.

0.2.16 #

  • Allocate extra space for app bar.

0.2.15 #

  • Add dialog
  • Add switch

0.2.14 #

  • Added PrimeDropdown widget for single-select from a list.
  • Added PrimeMultiDropdown widget for multi-select from a list.

0.2.11 #

  • Added SegmentedButton widget.

0.2.10 #

  • Added onChangedEnd callback to Slider widget.

0.2.9 #

  • Added Slider widget with custom colors, ranges, and divisions.

0.2.4 #

  • added ghost button disabled state

0.2.0 #

  • BREAKING: Button's label parameter is now a Widget? instead of a String.
  • BREAKING: Badge's child parameter is now a Widget? instead of a Widget, and is optional.
  • BREAKING: ExpansionListItem's title parameter is now a Widget? instead of a Widget, and is optional.
  • BREAKING: BottomSheet's show method title parameter is now a Widget? instead of a String?.
  • BREAKING: NavigationBar's NavigationBarItemData label parameter is now a Widget? instead of a String.
  • BREAKING: TabBar's items parameter is now List<Widget> instead of List<String>.

0.0.1 #

  • TODO: Describe initial release.
1
likes
150
points
241
downloads

Documentation

Documentation
API reference

Publisher

verified publisherviam.com

Weekly Downloads

Pretty Rad Interactive Modular Elements. A collection of UI elements for Flutter, implementing Viam's design system.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter, flutter_localizations

More

Packages that depend on prime_flutter