forui 0.8.0
forui: ^0.8.0 copied to clipboard
Beautifully designed, minimalistic widgets for desktop & touch devices.
0.8.0 #
Bump minimum Flutter version to 3.27.0.
Additions #
-
Add
showFSheet(...). -
Add
showFPersistentSheet(...). -
Add
FModalSheetRoute. -
Add
FSheets. -
Add
FSheetsinternally toFScaffold. -
Add
truncateAndStripTimezonetoFCalendarController.date(...). -
Add
truncateAndStripTimezonetoFCalendarController.dates(...). -
Add
truncateAndStripTimezonetoFCalendarController.range(...). -
Add
FCalendar.dayBuilder. -
Add
FLineCalendar. -
Add
FTileGroup.builder. -
Add
FSelectTileGroup.builder. -
Add
FSelectMenuTile.builder. -
Add
FScaffold.resizeToAvoidBottomInset. -
Add
FThemeData.debugLabel.
Changes #
-
Change
FCalendarController.date(...)to automatically strip and truncate all DateTimes to dates in UTC timezone. -
Change
FCalendarController.dates(...)to automatically strip and truncate all DateTimes to dates in UTC timezone. -
Change
FCalendarController.ranges(...)to automatically strip and truncate all DateTimes to dates in UTC timezone. -
Change
FCalendar.startto be optional and default to 1st January 1900. -
Change
FCalendar.endto be optional and default to 1st January 2100. -
Change
FThemeto internally extendInheritedTheme. -
Change
FTileGroupto be scrollable. -
Change
FPopoverMenuto be scrollable. -
Change
FSelectTileGroupto be scrollable. -
Change
FSelectMenuTileto be scrollable. -
Change
ThemeBuildContexttoFThemeBuildContext. -
Breaking Change
LayouttoFLayout. -
Breaking Change
FLocalizations.of(...)to returnFLocalizations?instead ofFLocalizations- doFLocalizations.of(...) ?? FDefaultLocalizations(). This change is sadly needed as Flutter now forcefully regeneratesFLocalizationseach timeflutter pub getis called. -
Breaking Change
FTileData.indextoFTileData.last. -
Breaking Change
FPopoverMenu.controllertoFPopoverMenu.popoverController. -
Breaking Change
FSelectTileGroup.controllertoFSelectTileGroup.groupController. -
Breaking Change
FPopoverController.durationtoFPopoverController.animationDuration. -
Breaking Change
FTooltipController.durationtoFTooltipController.animationDuration. -
Breaking Change
FTabController.ignoreDirectionalPaddingtoFTabController.directionPadding. -
Breaking Change
FPopover.ignoreDirectionalPaddingtoFPopover.directionPadding- the value should be inverted.* -
Breaking Change
FPopoverMenu.ignoreDirectionalPaddingtoFPopoverMenu.directionPadding- the value should be inverted. -
Breaking Change
FSelectMenuTile.ignoreDirectionalPaddingtoFSelectMenuTile.directionPadding- the value should be inverted.
Fixes #
- Resolved an issue where
FLabelexhibited incorrect padding when used withAxis.horizontaland RTL layouts.
0.7.0 #
This update adds responsive breakpoints, focused outlines & localization! It also introduces several new tile widgets.
Additions #
-
Add
FButtonSpinner. -
Add
FBreakpoints. -
Add
FIcon.empty(). -
Add
FTappable. -
Add
FTile. -
Add
FTileGroup. -
Add
FSelectMenuTile. -
Add
FSelectTile. -
Add
FSelectTileGroup. -
Add
FCalendarDayPickerStyle.tileSize. -
Add
FPopover.ignoreDirectionalPadding. -
Add
FPopover.tappable(...). -
Add
FPopoverMenu. -
Add
FPortal.offset. -
Add
FLocalizations. -
Add
FFocusedOutline. -
Add
FDialog.adaptive(...). -
Breaking Add
focusedOutlineStyletoFAccordionStyle- this only affect users which use the primary constructor. -
Breaking Add
focusedOutlineStyletoFBottomNavigationBar- this only affect users which use the primary constructor. -
Breaking Add
focusedOutlineStyletoFButtonStyle- this only affect users which use the primary constructor. -
Breaking Add
focusedOutlineStyletoFHeaderActionStyle- this only affect users which use the primary constructor. -
Breaking Add
focusedOutlineStyletoFResizableDividerStyle- this only affect users which use the primary constructor. -
Breaking Add
focusedOutlineStyletoFCheckboxStyle- this only affect users which use the primary constructor. -
Breaking Add
focusedOutlineStyletoFRadioStyle- this only affect users which use the primary constructor. -
Breaking Add
focusedBordertoFTileStyle- this only affect users which use the primary constructor. -
Breaking Add
focusedDividerStyletoFTileStyle- this only affect users which use the primary constructor. -
Breaking Add
focusedOutlineStyletoFTabsStyle- this only affect users which use the primary constructor. -
Breaking Add
focusedOutlineStyletoFSliderThumbStyle- this only affect users which use the primary constructor.
Changes #
-
Breaking Change
FPopover()to not automatically wrap a target in aGestureDetector- useFPopover.tappable(...)instead. -
Breaking Change
FSliderto default to the current text direction instead ofLayout.ltr. -
Change
FCalendarto support localization.
Fixes #
-
Change FButton's animation to only start on mouse down and up.
-
Fix
FLabelnot showing error message if label and description are null. -
Fix
FSelectGroupnot properly disposing callbacks.
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
FCalendaryear picker to update the header whenever a year is selected. -
Increase
FCalendar's default text size fromFTypography.smtoFTypography.base. -
Breaking Change
FBottomNavigationBarItem.labelfromStringtoWidget. -
Breaking Split
FCalendarHeaderStyle.iconColorintoFCalendarHeaderStyle.enabledIconColorandFCalendarHeaderStyle.disabledIconColor. -
Breaking Change
FTextFieldto useFLabel. -
Breaking Remove
FTextFieldErrorStyle.animatioDuration. -
Breaking Rename
FLabelStateStyletoFLabelStateStyles. -
Breaking Rename
FTextField.onSavetoFTextField.onSaved. -
Breaking Remove FAlertIcon & FAlertIconStyle - use
FIconinstead. -
Breaking Remove FButtonIcon & FAlertIconStyle - use
FIconinstead. -
Breaking Change FButtonCustomStyle to better represent the style's layout - this will only affect users that create a custom
FButtonCustomStyle. -
Breaking Change
FBottomNavigationBarItem.iconfromSvgAssettoWidget- wrap the asset inFIconinstead. -
Breaking Change
FHeaderAction.iconfromSvgAssettoWidget- wrap the asset inFIconinstead. -
Breaking Change
FSelectGroup.builderparameters. -
Breaking Change
FBadgeCustomStyle.contenttoFBadgeCustomStyle.contentStyle. -
Breaking Change
FAvatarStyle.texttoFAvatarStyle.textStyle. -
Breaking Change
FDialogStyle.horizontaltoFDialogStyle.horizontalStyle. -
Breaking Change
FDialogStyle.selectedLabeltoFDialogStyle.selectedLabelTextStyle. -
Breaking Change
FDialogStyle.unselectedLabeltoFDialogStyle.unselectedLabelTextStyle. -
Breaking Change
FDividerStyle.horizontaltoFDividerStyle.horizontalStyle. -
Breaking Change
FDividerStyle.verticaltoFDividerStyle.verticalStyle. -
Breaking Change
FDialogStyle.indicatortoFDialogStyle.indicatorDecoration. -
Breaking Change
FHeader.leftActionstoFHeader.prefixActions. -
Breaking Change
FHeader.rightActionstoFHeader.suffixActions. -
Breaking Change
FLabelStyle.horizontaltoFLabelStyle.horizontalStyle. -
Breaking Change
FLabelStyle.verticaltoFLabelStyle.verticalStyle. -
Breaking Change
FButtonStyles.outline's background to transparent.
Fixes #
-
Fix
FBottomNavigationBaritems hit region being smaller than intended. -
Fix
FCalendarshowing focused outline when pressing and long pressing a date. -
Fix
FCalendaryear and month picker applying incorrect initial top padding. -
Fix
FCalendaryear and month picker incorrectly calculating start and end dates. -
Fix
FTextfieldbeing vertically larger than intended. -
Fix
FTextfielddescription text's odd transition animation whenever an error occurs. -
Fix
FSwitchnot using correct label style. -
Fix
FCheckbox,FRadio,FSelectGroup,FSwitchandFTextFieldstyles causing the widget inspector to crash. -
Fix
FSelectGroupnot applying correct style if a custom widget-specific style is given.
0.5.1 #
#
- Fix
FTabsnot 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.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. -
Breaking: Require
FThemeto be wrapped in aCupertinoApp,MaterialApporWidgetsApp.
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! 🚀