Skip to content

Releases: duobaseio/forui

Forui Hooks 0.22.1

27 May 05:44

Choose a tag to compare

Relax SDK constraints to allow Flutter and Dart beta/pre-release versions.

Forui Assets 0.22.1

27 May 05:43

Choose a tag to compare

Relax SDK constraints to allow Flutter and Dart beta/pre-release versions.

Forui 0.22.3

27 May 05:43

Choose a tag to compare

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

26 May 06:49
172a24d

Choose a tag to compare

FAutocomplete

  • Add FAutocomplete.onItemPress callback.

Forui Hooks 0.22.0

22 May 13:01

Choose a tag to compare

FLineCalendar

  • Add useFLineCalendarScrollController(...).

Forui Assets 0.22.0

22 May 13:01

Choose a tag to compare

  • Update icons to Lucide 1.16.0.

  • Breaking Rename FIcons to FLucideIcons.

  • Fix spurious LicenseRegistry entries, including a hyphen-only "package" name, caused by separator rows in LICENSE.

Forui 0.22.1

22 May 16:27
1410253

Choose a tag to compare

Others

  • Fix icon-mapping CLI snippet referencing Lucide brand icons removed in 0.22.0.

Forui 0.22.0

22 May 13:01

Choose a tag to compare

FAccordionItem

  • Breaking Change FAccordionItem.icon from Widget to Widget?. Defaults to FIcons.chevronDown.

FAlert

  • Add FAlert.clipBehavior to clip the alert's content to the inner path of its decoration. Defaults to Clip.none.

  • Breaking Change FAlert.icon from Widget to Widget?. Defaults to FIcons.circleAlert.

FAutocomplete

  • Add FAutocomplete.text(...).

  • Add FAutocomplete.textBuilder(...).

  • Add FAutocomplete.format.

  • Add FAutocomplete.parse.

  • Breaking Add FAutocompleteContentStyle parameter to FAutocomplete.contentErrorBuilder callback.

  • Breaking Change FAutocomplete to FAutocomplete<T>.

  • Breaking Change FAutoCompleteContentBuilder to FAutocompleteContentBuilder<T>.

  • Change FAutocomplete.contentLoadingBuilder to nullable; pass null to hide the popover while loading.

  • Change FAutocomplete.contentEmptyBuilder to nullable; pass null to hide the popover when there are no results.

  • Change FAutocomplete.contentErrorBuilder; pass null to hide the popover when there is an error.

  • Fix FAutocomplete not showing context menu by default.

  • Fix FAutocomplete not notifying control's onChange callback when a suggestion is selected via tap or tab completion.

  • Fix FAutocomplete committing the first suggestion when TextInputAction.next or Tab is pressed while the popover
    is open and no inline typeahead completion is available.

  • Fix FAutocomplete popover staying open after Tab moves focus to another form field.

FAvatar

  • Breaking Add FAvatarStyle.fallbackIcon. Defaults to FIcons.userRound.

FBreadcrumb

  • Add icon parameter to FBreadcrumbItem.collapsed and FBreadcrumbItem.collapsedTiles. Defaults to
    FIcons.ellipsis.

  • Change FBreadcrumb.divider default to resolve from FIcons.chevronRight.

  • Breaking Change FBreadcrumbItem.cacheExtent to FBreadcrumbItem.scrollCacheExtent.

FButton

  • Fix FButton announcing both semanticsLabel and child semantics when semanticsLabel is set.

FCalendar

  • Breaking Add FCalendarHeaderStyle.previousIcon, FCalendarHeaderStyle.toggleIcon, and
    FCalendarHeaderStyle.nextIcon. Defaults to FIcons.chevronLeft and FIcons.chevronRight.

FCard

  • Add FCard.clipBehavior to clip the card's content to the inner path of its decoration. Defaults to Clip.none.

FCheckbox

  • Breaking Add FCheckboxStyle.icon. Defaults to FIcons.check.

FCircularProgress

  • Breaking Change FCircularProgress.icon from IconData to FIconBuilder. The default, .loader, and
    .pinwheel constructors resolve their icon from FIcons at build time.

FColors

  • Add ThemeExtension support via FColors(extensions: ...), FColors.extension<T>(), and FColors.extensions.

FDateField

  • Change FDateField.defaultIconBuilder to resolve the calendar icon from FIcons.calendar.
  • Change FDateField date format localizations to match CLDR 42.

FDialog

  • Add FDialog.resizeToAvoidInsets to opt out of view insets padding.
  • Add FDialog.clipBehavior to clip the dialog's content to the inner path of its decoration. Defaults to Clip.none.

FHeaderAction

  • Change FHeaderAction.back and FHeaderAction.x to resolve their icons from FIcons.arrowLeft and FIcons.x.

  • Fix FHeaderAction.style type from FHeaderActionStyle? to FHeaderActionStyleDelta.

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 FIconBuilder typedef and FIcons.iconData helper for wrapping an IconData as a builder.

FItem & FItemGroup

  • Breaking Change FItemGroup.cacheExtent to FItemGroup.scrollCacheExtent.

  • Breaking Remove FItemContentStyle.inherit(suffixedPadding: ...) and
    FItemContentStyle.inherit(unsuffixedPadding: ...). Padding is now inlined based on the new touch parameter.

  • Breaking Remove FRawItemContentStyle.inherit(padding: ...). Padding is now inlined based on the new touch
    parameter.

  • Breaking Rename FItemStyle.rawItemContentStyle to FItemStyle.rawContentStyle.

  • Breaking Rename FItemStyle.margin to FItemStyle.padding.

  • Breaking Rename FItemStyle.decoration to FItemStyle.contentDecoration.

  • Remove FItemStyle.menuInsets(...). Use FItemContentStyle.inherit(touch: ...) and
    FRawItemContentStyle.inherit(touch: ...) instead.

  • Remove FItemStyle.selectInsets(...). Use FItemContentStyle.inherit(touch: ...) and
    FRawItemContentStyle.inherit(touch: ...) instead.

  • Fix FItemGroup content not clipping properly at rounded corners.

FLineCalendar

  • Add FLineCalendarScrollControl.

  • Add FLineCalendarScrollController.

  • Add FLineCalendar.scrollControl.

  • Breaking Move FLineCalendar.start, end, today, initialScroll, and initialScrollAlignment to
    FLineCalendarScrollControl.managed(...).

  • Breaking Rename FLineCalendar.cacheExtent to FLineCalendar.scrollCacheExtent.

FPagination

  • Add settable FPaginationController.pages, FPaginationController.siblings, and FPaginationController.showEdges.

  • Change FPagination.previous and FPagination.next defaults to resolve from FIcons.chevronLeft and
    FIcons.chevronRight.

FPopover

  • Add FPopover.popoverClipBehavior to 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.suffix and FSubmenuTile.suffix defaults to resolve from FIcons.chevronRight.

  • Breaking Change FPopoverMenu.cacheExtent to FPopoverMenu.scrollCacheExtent.

  • Breaking Change FSubmenuItem.submenuCacheExtent to FSubmenuItem.submenuScrollCacheExtent.

  • Breaking Change FSubmenuTile.submenuCacheExtent to `FSubmenuItem.submenuScrollCacheExtent.

  • Fix FPopoverMenu content not clipping properly at rounded corners.

FResizable

  • Add FResizableDividerStyle.hapticFeedback. Defaults to FHapticFeedback.lightImpact.

  • Add FResizableController.hapticFeedbackVelocity. Defaults to 6.5.

  • Breaking Add FResizableDividerThumbStyle.icon. Defaults to FIcons.gripVertical (horizontal axis) or
    FIcons.gripHorizontal (vertical axis).

  • Change FResizableStyles.inherit(...) to require a hapticFeedback parameter.

  • Fix horizontal FResizable not mirroring under TextDirection.rtl.

FSelect & FMultiSelect

  • Add FSelect.retainFocus. Defaults to true on desktop and false on touch.

  • Breaking Add FMultiSelectFieldStyle.clearIcon. Defaults to FIcons.x.

  • Breaking Add FMultiSelectTagStyle.icon. Defaults to FIcons.x.

  • Breaking Add FSelectScrollHandleStyle.upIcon and FSelectScrollHandleStyle.downIcon. Defaults to
    FIcons.chevronUp and FIcons.chevronDown.

  • Change FSelect.defaultIconBuilder and FMultiSelect.defaultIconBuilder to resolve the chevron from
    FIcons.chevronDown.

  • Change FSelectSearchFieldProperties.defaultIconBuilder to resolve the search icon from FIcons.search.

  • Fix FSelect retaining field focus after an item is selected on touch devices.

FSelectMenuTile

  • Change FSelectMenuTile.suffix default to resolve from FIcons.chevronsUpDown.

  • Breaking Change FSelectMenuTile.cacheExtent to FSelectMenuTile.scrollCacheExtent.

FSelectTile & FSelectTileGroup

  • Breaking Change FSelectTile.checkedIcon and FSelectTile.uncheckedIcon from Widget to Widget?. Defaults
    to FIcons.check; the unchecked variant is rendered transparent to preserve layout.
  • Breaking Change FSelectTileGroup.cacheExtent to FSelectTileGroup.scrollCacheExtent.

FSidebar & FSidebarItem

  • Breaking Add FSidebarItemStyle.collapsibleIcon. Defaults to FIcons.chevronRight.

FSlider

  • Add FSliderHaptic enum.

  • Add FSliderStyle.collisionHapticFeedback.

  • Add FSliderStyle.tickHapticFeedback.

  • Add FSliderController.hapticFeedbackVelocity.

  • Breaking Change FSliderController.slide(...) to return FSliderHaptic?.

  • Breaking Change FSliderController.step(...) to return bool.

  • Breaking Change FSliderController.tap(...) to return ({FSliderActiveThumb? thumb, bool haptic}) instead of bool?.

FStyle & FThemeData

  • Add FThemeData.hapticFeedback.

  • Add FThemeData.icons for theming icons used by Forui widgets. See FIcons.

  • Add ThemeExtension support via FStyle(extensions: ...), FStyle.extension<T>(), and FStyle.extensions.

  • Breaking Remove FStyle.hapticFeedback. Use FThemeData.hapticFeedback instead.

  • Breaking Remove colors, typography, and style parameters from FThemeData.copyWith. Rebuild FThemeData
    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.defaultObscureIconBuilder to resolve eye icons from FIcons.eye and FIcons.eyeClosed.

  • Change `FTextField.defaultCle...

Read more

Forui 0.21.3

27 Apr 04:44

Choose a tag to compare

FDeterminateProgress

  • Breaking Change FDeterminateProgressMotion.duration to be the total animation duration regardless of value
    delta.

  • Fix FDeterminateProgress track fill desyncing from the value when a non-linear motion curve is used.

FHeader

  • Fix FHeader ignoring FHeaderStyle.decoration on the root variant.

Forui 0.21.2

22 Apr 04:59

Choose a tag to compare

FSelectMenuTile

  • Fix FSelectMenuTile rendering an extra border when a custom style is supplied inside a FTileGroup.