forui 0.4.0 forui: ^0.4.0 copied to clipboard
Forui is a UI library for Flutter that provides a set of minimalistic widgets heavily inspired by Shadcn/ui.
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 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! 🚀