Forui 0.25.0
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: ...)andFBreadcrumbItem.collapsedTiles(menuSemanticsLabel: ...). -
Breaking Change
FBreadcrumbItem.collapsed(semanticsLabel: ...)and
FBreadcrumbItem.collapsedTiles(semanticsLabel: ...)to label the trigger. UsemenuSemanticsLabelto label the menu. -
Fix
FBreadcrumbItemignoringautofocus,focusNode,onFocusChange,onHoverChange,onVariantChangeand
FBreadcrumbStyle.focusedOutlineStyle. -
Fix
FBreadcrumbItemwithout anonPressbeing 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.barrierFilterandFDialogStyle.backgroundFilterto accept aBuildContext. -
Breaking Remove
FDialogRouteStyle.inherit(colors: ...). UseFDialogRouteStyle.inherit()instead. -
Fix
showFDialognot 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. UseFIconinstead. -
Breaking Remove
FIcons.iconData(...). UseFIcon(...)instead. -
Fix widgets flickering when an equal
FThemeDatais recreated.
FItem & FTile
- Add
FItem.semanticsTooltipandFTile.semanticsTooltip.
FModalBarrier & FAnimatedModalBarrier
- Breaking Change
FAnimatedModalBarrier.filterto accept aBuildContext.
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.barrierFilterandFPopoverStyle.backgroundFilterto accept aBuildContext. -
Fix
FPopovercontent not being traversed immediately after its child.
FPopoverMenu
- Add
FPopoverMenu.overlayLocation,FSubmenuItem.submenuOverlayLocationandFSubmenuTile.submenuOverlayLocation.
FPortal
-
Add
FPortal.overlayLocation. -
Add
FPortal.traversalGrouped. -
Fix
FPortalcontent not being traversed immediately after its child.
FSelect & FMultiSelect
- Add
FSelect.contentOverlayLocationandFMultiSelect.contentOverlayLocation.
FSelectMenuTile
- Add
FSelectMenuTile.menuOverlayLocation.
FSheet
-
Add
FModalSheetStyle.defaultBarrierFilter. -
Add
FModalSheetRoute.capturedScopes. -
Breaking Change
FModalSheetStyle.barrierFilterto accept aBuildContext. -
Breaking Remove
FModalSheetStyle.inherit(colors: ...). UseFModalSheetStyle.inherit()instead. -
Fix
showFSheetcontent 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.captureandFCapturedTheme.
FTimeField
- Add
FTimeFieldPickerProperties.overlayLocation.
FToast & FToaster
- Fix toasts not restyling when the theme changes while shown.
FTooltip
-
Add
FTooltip.overlayLocation. -
Breaking Remove
FTooltip.semanticsLabel. SetsemanticsTooltipon the trigger instead.