prime_flutter 0.2.19
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
centerTitleparameter toPrimeAppBar. Defaults totrue. Whenfalse, leading + title + actions lay out in aRowwith the title inExpandedfor clean overflow, and the leading slot is no longer icon-width-constrained. - Added
onPressedcallback toAvatar. 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
ListItemGroupwidget. - Added
surfaceHovertoken toPrimeColorSchemefor a light → medium → dark progression on hover/press states. BREAKING for code that constructsPrimeColorSchemedirectly —surfaceHoveris now required. - Reworked interactive color animation on
ListItemandButton:ListItemhover/press now step throughsurfaceOffset→surfaceHover→surfaceHighlightinstead of jumping directly to the press color.- Fixed mid-tween dark flash on the standard
ListItemvariant (caused by interpolating from transparent black). - Primary
Buttonnow darkens through three phases (gray9→gray9_5→ pure black) to match Prime web's primary action.
- Added grayscale primitives
gray1_5,gray7_5,gray9_5, andblacktoPrimeColors.
0.2.16 #
- Allocate extra space for app bar.
0.2.15 #
- Add dialog
- Add switch
0.2.14 #
- Added
PrimeDropdownwidget for single-select from a list. - Added
PrimeMultiDropdownwidget for multi-select from a list.
0.2.11 #
- Added
SegmentedButtonwidget.
0.2.10 #
- Added
onChangedEndcallback toSliderwidget.
0.2.9 #
- Added
Sliderwidget with custom colors, ranges, and divisions.
0.2.4 #
- added ghost button disabled state
0.2.0 #
- BREAKING:
Button'slabelparameter is now aWidget?instead of aString. - BREAKING:
Badge'schildparameter is now aWidget?instead of aWidget, and is optional. - BREAKING:
ExpansionListItem'stitleparameter is now aWidget?instead of aWidget, and is optional. - BREAKING:
BottomSheet'sshowmethodtitleparameter is now aWidget?instead of aString?. - BREAKING:
NavigationBar'sNavigationBarItemDatalabelparameter is now aWidget?instead of aString. - BREAKING:
TabBar'sitemsparameter is nowList<Widget>instead ofList<String>.
0.0.1 #
- TODO: Describe initial release.