Skip to content

Forui 0.25.0

Choose a tag to compare

@Pante Pante released this 02 Aug 15:14
· 28 commits to main since this release
3acd1db

This update continues with our ongoing effort to improve Forui's accessibility. It also includes several QoL improvements
and bugfixes.

FAutocomplete

  • Add FAutocomplete.contentOverlayLocation.

FBreadcrumb

  • Add FBreadcrumbItem.collapsed(menuSemanticsLabel: ...) and FBreadcrumbItem.collapsedTiles(menuSemanticsLabel: ...).

  • Breaking Change FBreadcrumbItem.collapsed(semanticsLabel: ...) and
    FBreadcrumbItem.collapsedTiles(semanticsLabel: ...) to label the trigger. Use menuSemanticsLabel to label the menu.

  • Fix FBreadcrumbItem ignoring autofocus, focusNode, onFocusChange, onHoverChange, onVariantChange and
    FBreadcrumbStyle.focusedOutlineStyle.

  • Fix FBreadcrumbItem without an onPress being announced as a disabled button and changing color on hover.

FButton

  • Add FButton.onDisabledPress.
  • Add FButton.semanticsTooltip.

FContextMenu

  • Add FContextMenu.overlayLocation.

FDateField

  • Add FDateFieldCalendarProperties.overlayLocation.

FDialog

  • Add FDialogRouteStyle.defaultBarrierFilter.

  • Add FDialogRoute.capturedScopes.

  • Breaking Change FDialogRouteStyle.barrierFilter and FDialogStyle.backgroundFilter to accept a BuildContext.

  • Breaking Remove FDialogRouteStyle.inherit(colors: ...). Use FDialogRouteStyle.inherit() instead.

  • Fix showFDialog not restyling the dialog and barrier when the theme changes while open.

FHeaderAction

  • Add FHeaderAction.semanticsTooltip.

FIcons

We have replaced the FIconBuilder function with FIcon to fix widgets flickering whenever the same FThemeData is
rebuilt.

  • Add FIcon.

  • Breaking Remove FIconBuilder. Use FIcon instead.

  • Breaking Remove FIcons.iconData(...). Use FIcon(...) instead.

  • Fix widgets flickering when an equal FThemeData is recreated.

FItem & FTile

  • Add FItem.semanticsTooltip and FTile.semanticsTooltip.

FModalBarrier & FAnimatedModalBarrier

  • Breaking Change FAnimatedModalBarrier.filter to accept a BuildContext.

FOverlay

  • Add FOverlay.overlayLocation.

FPagination

  • Fix FPagination's previous and next buttons being enabled on the first and last pages.
  • Fix FPagination's ellipsis being announced by screen readers.
  • Fix FPagination's page buttons being announced without their page number.

FPointPortal

  • Add FPointPortal.overlayLocation.

FPopover

  • Add FPopover.overlayLocation.

  • Add FPopover.traversalGrouped.

  • Breaking Change FPopoverStyle.barrierFilter and FPopoverStyle.backgroundFilter to accept a BuildContext.

  • Fix FPopover content not being traversed immediately after its child.

FPopoverMenu

  • Add FPopoverMenu.overlayLocation, FSubmenuItem.submenuOverlayLocation and FSubmenuTile.submenuOverlayLocation.

FPortal

  • Add FPortal.overlayLocation.

  • Add FPortal.traversalGrouped.

  • Fix FPortal content not being traversed immediately after its child.

FSelect & FMultiSelect

  • Add FSelect.contentOverlayLocation and FMultiSelect.contentOverlayLocation.

FSelectMenuTile

  • Add FSelectMenuTile.menuOverlayLocation.

FSheet

  • Add FModalSheetStyle.defaultBarrierFilter.

  • Add FModalSheetRoute.capturedScopes.

  • Breaking Change FModalSheetStyle.barrierFilter to accept a BuildContext.

  • Breaking Remove FModalSheetStyle.inherit(colors: ...). Use FModalSheetStyle.inherit() instead.

  • Fix showFSheet content not restyling when the theme changes while open.

FTappable

  • Add FTappable.onDisabledPress.

  • Add FTappable.semanticsTooltip.

  • Fix pressed effect applying to ancestor tappables when a nested tappable is pressed.

FTheme

  • Add FTheme.capture and FCapturedTheme.

FTimeField

  • Add FTimeFieldPickerProperties.overlayLocation.

FToast & FToaster

  • Fix toasts not restyling when the theme changes while shown.

FTooltip

  • Add FTooltip.overlayLocation.

  • Breaking Remove FTooltip.semanticsLabel. Set semanticsTooltip on the trigger instead.