Skip to content

Forui 0.16.0

Latest

Choose a tag to compare

@Pante Pante released this 05 Oct 10:23
· 11 commits to main since this release

Better Generated Documentation

We've improved the styles' generated documentation. They should be much easier to navigate and understand.

FAccordion

  • Add FAccordionMotion.

  • Breaking Move animation related fields from FAccordionStyle to FAccordionMoton.

FAutocomplete

  • Add FAutocomplete.onReset.

  • Add FAutocompletController(popoverMotion: ...).

  • Breaking Change FAutocompleteContentStyle.loadingIndicatorStyle to FAutocompleteContentStyle.progressStyle.

FCheckbox

  • Add FCheckboxMotion.

  • Breaking Move animation related fields from FCheckboxStyle to FCheckboxMotion.

  • Fix FCheckbox flickering when rapidly hovering.

FDateField

  • Add FDateField.onReset.

  • Breaking Replace FDateFieldController(animationDuration: ...) with FDateFieldController(popoverMotion: ...).

FDialog

  • Add FDialogRouteStyle.

  • Add FDialogRouteMotion.

  • Add showFDialog(routeStyle: ...).

  • Add FDialogMotion.

  • Breaking Move barrier related fields from FDialogStyle to FDialogRouteStyle.

  • Breaking Move animation related fields from FDialogStyle to FDialogMotion.

  • Fix FDialog.body not allowing ScrollViews.

FFormField

  • Breaking Add FFormField(onReset: ...).
  • Breaking Add FFormFieldProperties(onReset: ...).

FHeader

  • Fix FHeader(...) not vertically centering title.
  • Fix FHeader(...) not respecting RTL locales.
  • Fix FHeader.nested(...) not vertically centering title.
  • Fix FHeader.nested(...) not respecting RTL locales.

FItem

  • Fix GestureDetector being absorbed in focused FItems.

FPopover & FPopoverMenu

  • Add FPopoverMotion.

  • Change default animations to be more subtle.

  • Breaking Replace FPopoverController(animationDuration: ...) with FPopoverController(motion: ...).

  • Breaking Change FPopoverMenu.hideRegion's default value from FHidePopoverRegion.anywhere to FHidePopoverRegion.excludeChild.

FProgress

We've reworked FProgress to be more customizable and easier to use.

  • Add FCircularProgress which represents indeterminate circular progress.

  • Add FCircularProgressStyle.

  • Add FInheritedCircularProgressStyle.

  • Add FDeterminateProgress which represents determinate linear progress.

  • Add FDeterminateProgressStyle.

  • Breaking Change FProgress to represent indeterminate linear progress.

  • Breaking Remove FProgressStyles.

FRadio

  • Add FRadioMotion.

  • Breaking Move animation related fields from FRadioStyle to FRadioMotion.

FSelect & FMultiSelect

  • Add FSelect.onReset.

  • Add FMultiSelect.onReset.

  • Breaking Rename FSelectSearchStyle.loadingIndicatorStyle to FSelectSearchStyle.progressStyle.

  • Breaking Replace FSelectController(animationDuration: ...) with FSelectController(popoverMotion: ...).

  • Breaking Replace FMultiSelectController(animationDuration: ...) with FMultiSelectController(popoverMotion: ...).

FSelectGroup

  • Add FSelectGroup.onReset.

FSelectMenuTile

  • Add FSelectMenuTile.onReset.

FSelectTileGroup

  • Add FSelectTileGroup.onReset.

FSheet

  • Add FModalSheetStyle.

  • Add FPersistentSheetStyle.

  • Add FSheetMotion.

  • Add FModalSheetMotion.

  • Add FPersistentSheetMotion.

  • Add FModalSheet(onClosing: ...).

  • Add FPersistentSheet(onClosing: ...).

  • Breaking Split FSheetStyle into FModalSheetStyle and FPersistentSheetStyle.

  • Breaking Move animation related fields from FSheetStyle to FSheetMotion.

FSidebar

  • Add FSidebarItemMotion.

  • Breaking Move animation related fields from FSiderbarItemStyle to FSiderbarItemMotion.

FSlider

  • Add FSlider.onReset.
  • Add FSliderStyle.tooltipMotion.

FTab

  • Add FTabMotion.
  • Breaking Replace FTabController(animationDuration: ...) with FTabController(motion: ...).

FTappable

  • Add FTappableMotion.

  • Breaking Move animation related fields from FTappableStyle to FTappableMotion.

FTextField & FTextFormField

We've added a password visibility toggle to password fields.

  • Add password visibility toggle to FTextField.password(...).

  • Add password visibility toggle to FTextFormField.password(...).

  • Add FTextFormField.onReset.

  • Change FTextField.email(label: ...) to be localized.

  • Change FTextField.password(label: ...) to be localized.

  • Change FTextFormField.email(label: ...) to be localized.

  • Change FTextFormField.password(label: ...) to be localized.

FThemeData

We've added support for animated theme transitions. This should make transitions between themes gradual instead of abrupt.

  • Add FThemeData.lerp(...).

  • Change FThemeData.copyWith(...) to accept style builder functions.

FTimeField

  • Add FTimeField.onReset.

  • Breaking Replace FTimeFieldController(animationDuration: ...) with FTimeFieldController(popoverMotion: ...).

FToast

  • Add FToastMotion.

  • Add FToasterMotion.

  • Change animation to be more subtle.

  • Breaking Move animation related fields from FToastStyle to FToastMotion.

  • Breaking Move animation related fields from FToasterStyle to FToasterMotion.

  • Remove no-op FToast.onDismiss parameter that was accidentally included.

FTooltip

  • Add FTooltipMotion.

  • Breaking Replace FTooltipController(animationDuration: ...) with FTooltipController(motion: ...).

FWidgetStateMap

  • Add FWidgetStateMap.lerpBoxDecoration(...).
  • Add FWidgetStateMap.lerpColor(...).
  • Add FWidgetStateMap.lerpIconThemeData(...).
  • Add FWidgetStateMap.lerpTextStyle(...).
  • Add FWidgetStateMap.lerpWhere(...).

FToaster

  • Add FToaster.of(...).

  • Make FToasterState.show(context: ...) optional.

Others

  • Add FImmutableTween.

  • Add FLabel.expands.

  • Fix FTextField.expands causing a render error.