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(...)andFDateSelectionControl.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
00in 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 inlabelPadding,
descriptionPaddinganderrorPaddinginstead ofchildPadding. -
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.clearIconBuilderandFMultiSelect.defaultClearIconBuilder. - Add
FSelectSearchFieldProperties.clearIconBuilder.
FSlider
- Change
FSliderStyle.labelPadding's default fromEdgeInsets.only(bottom: 5)toEdgeInsets.only(bottom: 15).
FTappable
-
Add
FTappable(selectable: ...)to control whether descendant text participates in an enclosingSelectionArea.
Defaults to false. -
Fix labeled (
excludeSemantics) and grouped (FTappableGroup) tappables droppingSemanticsAction.tap.
FTextField
- Breaking Change
FFieldClearIconBuilderto be generic. UseFFieldClearIconBuilder<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.darttocupertino_uipackage. - Breaking Migrate from deprecated
flutter/material.darttomaterial_uipackage. - Breaking Rename
forui_assetspackage toforui_lucide. Update direct imports topackage:forui_lucide/forui_lucide.dart.