forui 0.5.0
forui: ^0.5.0 copied to clipboard
Forui is a UI library for Flutter that provides a set of minimalistic widgets heavily inspired by Shadcn/ui.
0.5.0 #
The minimum Flutter version has been increased from 3.19.0 to 3.24.0.
Additions #
-
Add
FButton.icon(...). -
Add
FBottomNavigationBarData. -
Add
FButtonData. -
Add
FCalendarHeaderStyle.buttonStyle. -
Add
FFormFieldStyle. -
Add
FHeaderData. -
Add
FResizable.semanticFormatterCallback. -
Add
FLabel. -
Add label and description to
FCheckbox. -
Add label and description to
FSwitch. -
Add
FPortal. -
Add
FPopover. -
Add
FTooltip. -
Add
FSelectGroup. -
Add
FRadio.
Changes #
-
Breaking: Change
FAlertIconStyle.heighttoFAlertIconStyle.size. -
Breaking: Rename
FBottomNavigationBar.itemstoFBottomNavigationBar.children. -
Breaking: Remove
FBottomNavigationBar.raw(...)- use the default constructor instead. -
Breaking: Rename
FButtonIconStyle.heighttoFButtonIconStyle.size. -
Breaking: Change
FDivider.verticaltoFDivider.axis. -
Change
FResizableto resize byFResizable.resizePercentagewhen using a keyboard. -
Breaking: Change
FResiableDividerStyle.thicknesstoFResizableDividerStyle.width. -
Change
FTextFieldStyleto inherit fromFFormFieldStyle. -
Change
FTextFieldto display error under description instead of replacing it. -
Breaking: Change
FTextField.helptoFTextField.description. -
Breaking: Change how
FTextFieldStylestores various state-dependent styles. -
Breaking: Remove
FTextField.error- useFTextField.forceErrorTextinstead. -
Change
FTabControllerto implementChangeNotifierinstead ofListenable. -
Breaking: Flattened
FStyle.formFieldStyle- useFStyle.enabledFormFieldStyle,FStyle.disabledFormFieldStyle, andFStyle.errorFormFieldStyle. -
Improve platform detection for web when initializing platform-specific variables.
-
Breaking:
FCheckboxandFSwitchno longer wrapsFormField- consider wrapping them in aFormFieldif required.
Fixes #
-
Fix
FResizablenot rendering properly in an expanded widget when its crossAxisExtent is null. -
Fix
FTextFieldnot changing error text color when an error occurs. -
Fix
FTextFielderror message replacing the description text. -
Fix
FCheckboxStyle.inherit(...)icon color inheriting from the wrong color. -
Fix
FTabsnot handling indexes properly.
0.4.0 #
Additions #
-
Add
FAvatar. -
Breaking: Add
FCalendarEntryStyle.focusedBorderColor. This only affects users that customizedFCalendarEntryStyle. -
Add
FResizable. -
Add
imageparameter toFCard.
Changes #
-
Change number of years displayed per page in
FCalendarfrom 12 to 15. -
Breaking: Move
FCalendar.enabledtoFCalendarController.selectable(...). -
Breaking: Rename
FCalendarController.contains(...)toFCalendarController.selected(...). -
Breaking: Rename
FCalendarController.onPress(...)toFCalendarController.select(...). -
Breaking: Rename
FCalendarEntryStyle.focusedBackgroundColortoFCalendarEntryStyle.hoveredBackgroundColor. This only affects users that customizedFCalendarEntryStyle. -
Breaking: Rename
FCalendarEntryStyle.focusedTextStyletoFCalendarEntryStyle.hoveredTextStyle. This only affects users that customizedFCalendarEntryStyle. -
Breaking: Move
FCalendarSingleValueControllertoFCalendarController.date(...). -
Breaking: Move
FCalendarMultiValueControllertoFCalendarController.dates(...). -
Breaking: Rename
FCalendarSingleRangeControllertoFCalendarRangeController.range(...). -
Breaking: Rename
FSeparatortoFDivider. -
Breaking: Remove
colorScheme,typographyandstyleparameters fromFThemeData.copyWith(...). The problem was widget-specific styles not being re-created after the removed parameters were updated. This led to unintuitive behavior where the style of a widget was not updated when theFThemeDatawas updated. This should only affect people that customizeFThemeData. Use theFThemeData.inherit(...)constructor instead.
Fixes #
-
Fix
FCalendardates &FButtons not being toggleable usingEnterkey. -
Fix
FCalendardates sometimes not being navigable using arrow keys.
0.3.0 #
0.2.0 #
Additions #
-
Add
FCheckbox. -
Add
FHeader.nested. -
Add
FProgress.
Enhancements #
-
Breaking Move
FHeaderStyletoFHeaderStyles.rootStyle. -
Breaking Move
FHeaderActionStyle.paddingtoFRootHeaderStyle.actionSpacing. -
Breaking Suffix style parameters with
Style, i.e.FRootHeaderStyle.actionhas been renamed toFRootHeaderStyle.actionStyle. -
Breaking Raw fields have been removed, wrap strings with the Text() widget. E.g.
FButton(label: 'Hello')orFButton(rawLabel: 'Hello')should be replaced withFButton(label: Text('Hello')). -
Change
FTextFieldto be usable inForms. -
Change
FTextFieldStyle's default vertical content padding from5to15. -
Split exports in
forui.dartinto sub-libraries.
Fixes #
-
Fix missing
keyparameter inFTextFieldconstructors. -
Breaking
FButton.prefixIconandFButton.suffixIconhave been renamed toFButton.prefixandFButton.suffix. -
Fix padding inconsistencies in
FCardandFDialog.
0.1.0 #
- Initial release! 🚀