forui 0.6.1 forui: ^0.6.1 copied to clipboard
Forui is a UI library for Flutter that provides a set of minimalistic widgets heavily inspired by Shadcn/ui.
0.6.1 #
- Fix range slider not displaying tooltip for minimum thumb.
0.6.0 #
Additions #
-
Add
FAccordion
. -
Add
FSlider
. -
Add
FButtonStyles.ghost
. -
Add
FButtonCustomStyle.enabledHoverBoxDecoration
. -
Add
FTextField.contentInsertionConfiguration
. -
Add
FTextField.mouseCursor
. -
Add
FTextField.forceErrorText
. -
Add
FIcon
. -
Add
FColorScheme.disable(...)
. -
Add
FColorScheme.disableOpacity
. -
Add
FColorScheme.hover(...)
. -
Add
FColorScheme.enabledHoveredOpacity
. -
Add
FChangeNotifier
. -
Add
FValueNotifier
.
Changes #
-
Change button to change color when hovering over it.
-
Change
FCalendar
year picker to update the header whenever a year is selected. -
Increase
FCalendar
's default text size fromFTypography.sm
toFTypography.base
. -
Breaking Change
FBottomNavigationBarItem.label
fromString
toWidget
. -
Breaking Split
FCalendarHeaderStyle.iconColor
intoFCalendarHeaderStyle.enabledIconColor
andFCalendarHeaderStyle.disabledIconColor
. -
Breaking Change
FTextField
to useFLabel
. -
Breaking Remove
FTextFieldErrorStyle.animatioDuration
. -
Breaking Rename
FLabelStateStyle
toFLabelStateStyles
. -
Breaking Rename
FTextField.onSave
toFTextField.onSaved
. -
Breaking Remove FAlertIcon & FAlertIconStyle - use
FIcon
instead. -
Breaking Remove FButtonIcon & FAlertIconStyle - use
FIcon
instead. -
Breaking Change FButtonCustomStyle to better represent the style's layout - this will only affect users that create a custom
FButtonCustomStyle
. -
Breaking Change
FBottomNavigationBarItem.icon
fromSvgAsset
toWidget
- wrap the asset inFIcon
instead. -
Breaking Change
FHeaderAction.icon
fromSvgAsset
toWidget
- wrap the asset inFIcon
instead. -
Breaking Change
FSelectGroup.builder
parameters. -
Breaking Change
FBadgeCustomStyle.content
toFBadgeCustomStyle.contentStyle
. -
Breaking Change
FAvatarStyle.text
toFAvatarStyle.textStyle
. -
Breaking Change
FDialogStyle.horizontal
toFDialogStyle.horizontalStyle
. -
Breaking Change
FDialogStyle.selectedLabel
toFDialogStyle.selectedLabelTextStyle
. -
Breaking Change
FDialogStyle.unselectedLabel
toFDialogStyle.unselectedLabelTextStyle
. -
Breaking Change
FDividerStyle.horizontal
toFDividerStyle.horizontalStyle
. -
Breaking Change
FDividerStyle.vertical
toFDividerStyle.verticalStyle
. -
Breaking Change
FDialogStyle.indicator
toFDialogStyle.indicatorDecoration
. -
Breaking Change
FHeader.leftActions
toFHeader.prefixActions
. -
Breaking Change
FHeader.rightActions
toFHeader.suffixActions
. -
Breaking Change
FLabelStyle.horizontal
toFLabelStyle.horizontalStyle
. -
Breaking Change
FLabelStyle.vertical
toFLabelStyle.verticalStyle
. -
Breaking Change
FButtonStyles.outline
's background to transparent.
Fixes #
-
Fix
FBottomNavigationBar
items hit region being smaller than intended. -
Fix
FCalendar
showing focused outline when pressing and long pressing a date. -
Fix
FCalendar
year and month picker applying incorrect initial top padding. -
Fix
FCalendar
year and month picker incorrectly calculating start and end dates. -
Fix
FTextfield
being vertically larger than intended. -
Fix
FTextfield
description text's odd transition animation whenever an error occurs. -
Fix
FSwitch
not using correct label style. -
Fix
FCheckbox
,FRadio
,FSelectGroup
,FSwitch
andFTextField
styles causing the widget inspector to crash. -
Fix
FSelectGroup
not applying correct style if a custom widget-specific style is given.
0.5.1 #
#
- Fix
FTabs
not showing correct tab entry when switching tabs. Issue #203.
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.height
toFAlertIconStyle.size
. -
Breaking: Rename
FBottomNavigationBar.items
toFBottomNavigationBar.children
. -
Breaking: Remove
FBottomNavigationBar.raw(...)
- use the default constructor instead. -
Breaking: Rename
FButtonIconStyle.height
toFButtonIconStyle.size
. -
Breaking: Change
FDivider.vertical
toFDivider.axis
. -
Change
FResizable
to resize byFResizable.resizePercentage
when using a keyboard. -
Breaking: Change
FResiableDividerStyle.thickness
toFResizableDividerStyle.width
. -
Change
FTextFieldStyle
to inherit fromFFormFieldStyle
. -
Change
FTextField
to display error under description instead of replacing it. -
Breaking: Change
FTextField.help
toFTextField.description
. -
Breaking: Change how
FTextFieldStyle
stores various state-dependent styles. -
Breaking: Remove
FTextField.error
- useFTextField.forceErrorText
instead. -
Change
FTabController
to implementChangeNotifier
instead ofListenable
. -
Breaking: Flattened
FStyle.formFieldStyle
- useFStyle.enabledFormFieldStyle
,FStyle.disabledFormFieldStyle
, andFStyle.errorFormFieldStyle
. -
Improve platform detection for web when initializing platform-specific variables.
-
Breaking:
FCheckbox
andFSwitch
no longer wrapsFormField
- consider wrapping them in aFormField
if required. -
Breaking: Require
FTheme
to be wrapped in aCupertinoApp
,MaterialApp
orWidgetsApp
.
Fixes #
-
Fix
FResizable
not rendering properly in an expanded widget when its crossAxisExtent is null. -
Fix
FTextField
not changing error text color when an error occurs. -
Fix
FTextField
error message replacing the description text. -
Fix
FCheckboxStyle.inherit(...)
icon color inheriting from the wrong color. -
Fix
FTabs
not handling indexes properly.
0.4.0 #
Additions #
-
Add
FAvatar
. -
Breaking: Add
FCalendarEntryStyle.focusedBorderColor
. This only affects users that customizedFCalendarEntryStyle
. -
Add
FResizable
. -
Add
image
parameter toFCard
.
Changes #
-
Change number of years displayed per page in
FCalendar
from 12 to 15. -
Breaking: Move
FCalendar.enabled
toFCalendarController.selectable(...)
. -
Breaking: Rename
FCalendarController.contains(...)
toFCalendarController.selected(...)
. -
Breaking: Rename
FCalendarController.onPress(...)
toFCalendarController.select(...)
. -
Breaking: Rename
FCalendarEntryStyle.focusedBackgroundColor
toFCalendarEntryStyle.hoveredBackgroundColor
. This only affects users that customizedFCalendarEntryStyle
. -
Breaking: Rename
FCalendarEntryStyle.focusedTextStyle
toFCalendarEntryStyle.hoveredTextStyle
. This only affects users that customizedFCalendarEntryStyle
. -
Breaking: Move
FCalendarSingleValueController
toFCalendarController.date(...)
. -
Breaking: Move
FCalendarMultiValueController
toFCalendarController.dates(...)
. -
Breaking: Rename
FCalendarSingleRangeController
toFCalendarRangeController.range(...)
. -
Breaking: Rename
FSeparator
toFDivider
. -
Breaking: Remove
colorScheme
,typography
andstyle
parameters 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 theFThemeData
was updated. This should only affect people that customizeFThemeData
. Use theFThemeData.inherit(...)
constructor instead.
Fixes #
-
Fix
FCalendar
dates &FButton
s not being toggleable usingEnter
key. -
Fix
FCalendar
dates sometimes not being navigable using arrow keys.
0.3.0 #
0.2.0 #
Additions #
-
Add
FCheckbox
. -
Add
FHeader.nested
. -
Add
FProgress
.
Enhancements #
-
Breaking Move
FHeaderStyle
toFHeaderStyles.rootStyle
. -
Breaking Move
FHeaderActionStyle.padding
toFRootHeaderStyle.actionSpacing
. -
Breaking Suffix style parameters with
Style
, i.e.FRootHeaderStyle.action
has 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
FTextField
to be usable inForm
s. -
Change
FTextFieldStyle
's default vertical content padding from5
to15
. -
Split exports in
forui.dart
into sub-libraries.
Fixes #
-
Fix missing
key
parameter inFTextField
constructors. -
Breaking
FButton.prefixIcon
andFButton.suffixIcon
have been renamed toFButton.prefix
andFButton.suffix
. -
Fix padding inconsistencies in
FCard
andFDialog
.
0.1.0 #
- Initial release! 🚀