Skip to content

Forui 0.26.0

Latest

Choose a tag to compare

@Pante Pante released this 24 Aug 10:30
· 11 commits to main since this release
30afdb5

This update replaces the deprecated flutter/cupertino.dart & flutter/material.dart libraries with the cupertino_ui
& material_ui packages introduced in Flutter 3.47.

It also includes several QoL improvements, such as a new open range selection controller for FCalendar.

Lastly, we have renamed the forui_assets package to forui_lucide to better reflect its contents, and introduced a
new forui_phosphor package that contains the Phosphor Icons set.

FAutocomplete

  • Add FAutocomplete.clearIconBuilder.
  • Add FAutocomplete.enableAutocompletion.

FCalendar

  • Add FDateSelectionController.openRange(...).

  • Add FDateSelectionControl.managedOpenRange(...) and FDateSelectionControl.liftedOpenRange(...).

  • Fix day, month and year labels being clipped before reaching the calendar edge while paging.

FDateField

  • Add FDateField.clearIconBuilder.

  • Fix Tamil (ta) defaulting to English.

FDateTimePicker & FTimePicker

  • Fix minute wheel showing only 00 in 24-hour mode in locales that use non-western numerals.

FLabel

  • Change FLabel's horizontal layouts to place the gap between the label and child in labelPadding,
    descriptionPadding and errorPadding instead of childPadding.

  • Fix dead space around the control even when no label, description, and error are provided.

  • Fix controls not being flush with the layout edges, misaligning them with sibling form fields.

FSelect & FMultiSelect

  • Add FSelect.clearIconBuilder.
  • Add FMultiSelect.clearIconBuilder and FMultiSelect.defaultClearIconBuilder.
  • Add FSelectSearchFieldProperties.clearIconBuilder.

FSlider

  • Change FSliderStyle.labelPadding's default from EdgeInsets.only(bottom: 5) to EdgeInsets.only(bottom: 15).

FTappable

  • Add FTappable(selectable: ...) to control whether descendant text participates in an enclosing SelectionArea.
    Defaults to false.

  • Fix labeled (excludeSemantics) and grouped (FTappableGroup) tappables dropping SemanticsAction.tap.

FTextField

  • Breaking Change FFieldClearIconBuilder to be generic. Use FFieldClearIconBuilder<FTextFieldStyle> instead.

FTimeField

  • Add FTimeField.clearIconBuilder.

  • Fix Tamil (ta) defaulting to English.

  • Fix Assamese (as) and Tamil (ta) merging the minute and period into a single segment.

Others

  • Breaking Migrate from deprecated flutter/cupertino.dart to cupertino_ui package.
  • Breaking Migrate from deprecated flutter/material.dart to material_ui package.
  • Breaking Rename forui_assets package to forui_lucide. Update direct imports to package:forui_lucide/forui_lucide.dart.