Releases: duobaseio/forui
Forui Hooks 0.22.1
Relax SDK constraints to allow Flutter and Dart beta/pre-release versions.
Forui Assets 0.22.1
Relax SDK constraints to allow Flutter and Dart beta/pre-release versions.
Forui 0.22.3
Relax SDK constraints to allow Flutter and Dart beta/pre-release versions.
FSelect & FMultiSelect
- Fix
FSelect&FMultiSelect's popovers causing ancestor scrollables to jump when opened.
Forui 0.22.2
FAutocomplete
- Add
FAutocomplete.onItemPresscallback.
Forui Hooks 0.22.0
FLineCalendar
- Add
useFLineCalendarScrollController(...).
Forui Assets 0.22.0
-
Update icons to Lucide 1.16.0.
-
Breaking Rename
FIconstoFLucideIcons. -
Fix spurious
LicenseRegistryentries, including a hyphen-only "package" name, caused by separator rows inLICENSE.
Forui 0.22.1
Others
- Fix
icon-mappingCLI snippet referencing Lucide brand icons removed in 0.22.0.
Forui 0.22.0
FAccordionItem
- Breaking Change
FAccordionItem.iconfromWidgettoWidget?. Defaults toFIcons.chevronDown.
FAlert
-
Add
FAlert.clipBehaviorto clip the alert's content to the inner path of its decoration. Defaults toClip.none. -
Breaking Change
FAlert.iconfromWidgettoWidget?. Defaults toFIcons.circleAlert.
FAutocomplete
-
Add
FAutocomplete.text(...). -
Add
FAutocomplete.textBuilder(...). -
Add
FAutocomplete.format. -
Add
FAutocomplete.parse. -
Breaking Add
FAutocompleteContentStyleparameter toFAutocomplete.contentErrorBuildercallback. -
Breaking Change
FAutocompletetoFAutocomplete<T>. -
Breaking Change
FAutoCompleteContentBuildertoFAutocompleteContentBuilder<T>. -
Change
FAutocomplete.contentLoadingBuilderto nullable; passnullto hide the popover while loading. -
Change
FAutocomplete.contentEmptyBuilderto nullable; passnullto hide the popover when there are no results. -
Change
FAutocomplete.contentErrorBuilder; passnullto hide the popover when there is an error. -
Fix
FAutocompletenot showing context menu by default. -
Fix
FAutocompletenot notifying control'sonChangecallback when a suggestion is selected via tap or tab completion. -
Fix
FAutocompletecommitting the first suggestion whenTextInputAction.nextor Tab is pressed while the popover
is open and no inline typeahead completion is available. -
Fix
FAutocompletepopover staying open after Tab moves focus to another form field.
FAvatar
- Breaking Add
FAvatarStyle.fallbackIcon. Defaults toFIcons.userRound.
FBreadcrumb
-
Add
iconparameter toFBreadcrumbItem.collapsedandFBreadcrumbItem.collapsedTiles. Defaults to
FIcons.ellipsis. -
Change
FBreadcrumb.dividerdefault to resolve fromFIcons.chevronRight. -
Breaking Change
FBreadcrumbItem.cacheExtenttoFBreadcrumbItem.scrollCacheExtent.
FButton
- Fix
FButtonannouncing bothsemanticsLabeland child semantics whensemanticsLabelis set.
FCalendar
- Breaking Add
FCalendarHeaderStyle.previousIcon,FCalendarHeaderStyle.toggleIcon, and
FCalendarHeaderStyle.nextIcon. Defaults toFIcons.chevronLeftandFIcons.chevronRight.
FCard
- Add
FCard.clipBehaviorto clip the card's content to the inner path of its decoration. Defaults toClip.none.
FCheckbox
- Breaking Add
FCheckboxStyle.icon. Defaults toFIcons.check.
FCircularProgress
- Breaking Change
FCircularProgress.iconfromIconDatatoFIconBuilder. The default,.loader, and
.pinwheelconstructors resolve their icon fromFIconsat build time.
FColors
- Add
ThemeExtensionsupport viaFColors(extensions: ...),FColors.extension<T>(), andFColors.extensions.
FDateField
- Change
FDateField.defaultIconBuilderto resolve the calendar icon fromFIcons.calendar. - Change
FDateFielddate format localizations to match CLDR 42.
FDialog
- Add
FDialog.resizeToAvoidInsetsto opt out of view insets padding. - Add
FDialog.clipBehaviorto clip the dialog's content to the inner path of its decoration. Defaults toClip.none.
FHeaderAction
-
Change
FHeaderAction.backandFHeaderAction.xto resolve their icons fromFIcons.arrowLeftandFIcons.x. -
Fix
FHeaderAction.styletype fromFHeaderActionStyle?toFHeaderActionStyleDelta.
FIcons
Add FIcons, a set of semantic icon tokens exposed via FThemeData.icons. This allows the icons used by widgets to be
customized globally. Defaults to Lucide-backed set, FIcons.lucide().
- Add
FIconBuildertypedef andFIcons.iconDatahelper for wrapping anIconDataas a builder.
FItem & FItemGroup
-
Breaking Change
FItemGroup.cacheExtenttoFItemGroup.scrollCacheExtent. -
Breaking Remove
FItemContentStyle.inherit(suffixedPadding: ...)and
FItemContentStyle.inherit(unsuffixedPadding: ...). Padding is now inlined based on the newtouchparameter. -
Breaking Remove
FRawItemContentStyle.inherit(padding: ...). Padding is now inlined based on the newtouch
parameter. -
Breaking Rename
FItemStyle.rawItemContentStyletoFItemStyle.rawContentStyle. -
Breaking Rename
FItemStyle.margintoFItemStyle.padding. -
Breaking Rename
FItemStyle.decorationtoFItemStyle.contentDecoration. -
Remove
FItemStyle.menuInsets(...). UseFItemContentStyle.inherit(touch: ...)and
FRawItemContentStyle.inherit(touch: ...)instead. -
Remove
FItemStyle.selectInsets(...). UseFItemContentStyle.inherit(touch: ...)and
FRawItemContentStyle.inherit(touch: ...)instead. -
Fix
FItemGroupcontent not clipping properly at rounded corners.
FLineCalendar
-
Add
FLineCalendarScrollControl. -
Add
FLineCalendarScrollController. -
Add
FLineCalendar.scrollControl. -
Breaking Move
FLineCalendar.start,end,today,initialScroll, andinitialScrollAlignmentto
FLineCalendarScrollControl.managed(...). -
Breaking Rename
FLineCalendar.cacheExtenttoFLineCalendar.scrollCacheExtent.
FPagination
-
Add settable
FPaginationController.pages,FPaginationController.siblings, andFPaginationController.showEdges. -
Change
FPagination.previousandFPagination.nextdefaults to resolve fromFIcons.chevronLeftand
FIcons.chevronRight.
FPopover
- Add
FPopover.popoverClipBehaviorto clip the popover's content to the inner path of its decoration. Defaults to
Clip.none.
FPopoverMenu
-
Add
FSubmenuItem.submenuHideRegion. -
Add
FSubmenuTile.submenuHideRegion. -
Change
FSubmenuItem.suffixandFSubmenuTile.suffixdefaults to resolve fromFIcons.chevronRight. -
Breaking Change
FPopoverMenu.cacheExtenttoFPopoverMenu.scrollCacheExtent. -
Breaking Change
FSubmenuItem.submenuCacheExtenttoFSubmenuItem.submenuScrollCacheExtent. -
Breaking Change
FSubmenuTile.submenuCacheExtentto `FSubmenuItem.submenuScrollCacheExtent. -
Fix
FPopoverMenucontent not clipping properly at rounded corners.
FResizable
-
Add
FResizableDividerStyle.hapticFeedback. Defaults toFHapticFeedback.lightImpact. -
Add
FResizableController.hapticFeedbackVelocity. Defaults to6.5. -
Breaking Add
FResizableDividerThumbStyle.icon. Defaults toFIcons.gripVertical(horizontal axis) or
FIcons.gripHorizontal(vertical axis). -
Change
FResizableStyles.inherit(...)to require ahapticFeedbackparameter. -
Fix horizontal
FResizablenot mirroring underTextDirection.rtl.
FSelect & FMultiSelect
-
Add
FSelect.retainFocus. Defaults totrueon desktop andfalseon touch. -
Breaking Add
FMultiSelectFieldStyle.clearIcon. Defaults toFIcons.x. -
Breaking Add
FMultiSelectTagStyle.icon. Defaults toFIcons.x. -
Breaking Add
FSelectScrollHandleStyle.upIconandFSelectScrollHandleStyle.downIcon. Defaults to
FIcons.chevronUpandFIcons.chevronDown. -
Change
FSelect.defaultIconBuilderandFMultiSelect.defaultIconBuilderto resolve the chevron from
FIcons.chevronDown. -
Change
FSelectSearchFieldProperties.defaultIconBuilderto resolve the search icon fromFIcons.search. -
Fix
FSelectretaining field focus after an item is selected on touch devices.
FSelectMenuTile
-
Change
FSelectMenuTile.suffixdefault to resolve fromFIcons.chevronsUpDown. -
Breaking Change
FSelectMenuTile.cacheExtenttoFSelectMenuTile.scrollCacheExtent.
FSelectTile & FSelectTileGroup
- Breaking Change
FSelectTile.checkedIconandFSelectTile.uncheckedIconfromWidgettoWidget?. Defaults
toFIcons.check; the unchecked variant is rendered transparent to preserve layout. - Breaking Change
FSelectTileGroup.cacheExtenttoFSelectTileGroup.scrollCacheExtent.
FSidebar & FSidebarItem
- Breaking Add
FSidebarItemStyle.collapsibleIcon. Defaults toFIcons.chevronRight.
FSlider
-
Add
FSliderHapticenum. -
Add
FSliderStyle.collisionHapticFeedback. -
Add
FSliderStyle.tickHapticFeedback. -
Add
FSliderController.hapticFeedbackVelocity. -
Breaking Change
FSliderController.slide(...)to returnFSliderHaptic?. -
Breaking Change
FSliderController.step(...)to returnbool. -
Breaking Change
FSliderController.tap(...)to return({FSliderActiveThumb? thumb, bool haptic})instead ofbool?.
FStyle & FThemeData
-
Add
FThemeData.hapticFeedback. -
Add
FThemeData.iconsfor theming icons used by Forui widgets. SeeFIcons. -
Add
ThemeExtensionsupport viaFStyle(extensions: ...),FStyle.extension<T>(), andFStyle.extensions. -
Breaking Remove
FStyle.hapticFeedback. UseFThemeData.hapticFeedbackinstead. -
Breaking Remove
colors,typography, andstyleparameters fromFThemeData.copyWith. RebuildFThemeData
directly to change these.
FTappable
- Add
onPressDown. - Add
onPressCancel. - Add
onPressMove. - Add
onPressUp. - Add
onLongPressDown. - Add
onLongPressCancel. - Add
onLongPressStart. - Add
onLongPressMove. - Add
onLongPressEnd. - Add
onDoubleTapDown. - Add
onDoubleTapCancel. - Add
onSecondaryPressDown. - Add
onSecondaryPressCancel. - Add
onSecondaryPressUp. - Add
onSecondaryLongPressDown. - Add
onSecondaryLongPressCancel. - Add
onSecondaryLongPressStart. - Add
onSecondaryLongPressMove. - Add
onSecondaryLongPressEnd.
FTextField
-
Add
FTextFieldStyle.constraints, enforcing a minimum height per size variant. -
Change
FTextField.defaultObscureIconBuilderto resolve eye icons fromFIcons.eyeandFIcons.eyeClosed. -
Change `FTextField.defaultCle...
Forui 0.21.3
FDeterminateProgress
-
Breaking Change
FDeterminateProgressMotion.durationto be the total animation duration regardless of value
delta. -
Fix
FDeterminateProgresstrack fill desyncing from the value when a non-linear motion curve is used.
FHeader
- Fix
FHeaderignoringFHeaderStyle.decorationon the root variant.
Forui 0.21.2
FSelectMenuTile
- Fix
FSelectMenuTilerendering an extra border when a custom style is supplied inside aFTileGroup.