Skip to content

Releases: forus-labs/forui

Forui 0.5.0

18 Sep 04:01
Compare
Choose a tag to compare

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 to FAlertIconStyle.size.

  • Breaking: Rename FBottomNavigationBar.items to FBottomNavigationBar.children.

  • Breaking: Remove FBottomNavigationBar.raw(...) - use the default constructor instead.

  • Breaking: Rename FButtonIconStyle.height to FButtonIconStyle.size.

  • Breaking: Change FDivider.vertical to FDivider.axis.

  • Change FResizable to resize by FResizable.resizePercentage when using a keyboard.

  • Breaking: Change FResiableDividerStyle.thickness to FResizableDividerStyle.width.

  • Change FTextFieldStyle to inherit from FFormFieldStyle.

  • Change FTextField to display error under description instead of replacing it.

  • Breaking: Change FTextField.help to FTextField.description.

  • Breaking: Change how FTextFieldStyle stores various state-dependent styles.

  • Breaking: Remove FTextField.error - use FTextField.forceErrorText instead.

  • Change FTabController to implement ChangeNotifier instead of Listenable.

  • Breaking: Flattened FStyle.formFieldStyle - use FStyle.enabledFormFieldStyle, FStyle.disabledFormFieldStyle,
    andFStyle.errorFormFieldStyle.

  • Improve platform detection for web when initializing platform-specific variables.

  • Breaking: FCheckbox and FSwitch no longer wraps FormField - consider wrapping them in a FormField if
    required.

  • Breaking: Require FTheme to be wrapped in a CupertinoApp, MaterialApp or WidgetsApp.

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.

Forui 0.4.0

06 Aug 11:09
Compare
Choose a tag to compare

0.4.0

Additions

  • Add FAvatar.
  • Breaking: Add FCalendarEntryStyle.focusedBorderColor. This only affects users that customized FCalendarEntryStyle.
  • Add FResizable.
  • Add image parameter to FCard.

Changes

  • Change number of years displayed per page in FCalendar from 12 to 15.

  • Breaking: Move FCalendar.enabled to FCalendarController.selectable(...).

  • Breaking: Rename FCalendarController.contains(...) to FCalendarController.selected(...).

  • Breaking: Rename FCalendarController.onPress(...) to FCalendarController.select(...).

  • Breaking: Rename FCalendarEntryStyle.focusedBackgroundColor to FCalendarEntryStyle.hoveredBackgroundColor.
    This only affects users that customized FCalendarEntryStyle.

  • Breaking: Rename FCalendarEntryStyle.focusedTextStyle to FCalendarEntryStyle.hoveredTextStyle.
    This only affects users that customized FCalendarEntryStyle.

  • Breaking: Move FCalendarSingleValueController to FCalendarController.date(...).

  • Breaking: Move FCalendarMultiValueController to FCalendarController.dates(...).

  • Breaking: Rename FCalendarSingleRangeController to FCalendarRangeController.range(...).

  • Breaking: Rename FSeparator to FDivider.

  • Breaking: Remove colorScheme, typography and style parameters from FThemeData.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 the FThemeData was updated.
    This should only affect people that customize FThemeData. Use the FThemeData.inherit(...) constructor instead.

Fixes

  • Fix FCalendar dates not being toggleable using Enter key.
  • Fix FCalendar dates sometimes not being navigable using arrow keys.

Forui 0.3.0

16 Jul 10:46
ffd1109
Compare
Choose a tag to compare

0.3.0

Additions

  • Add FAlert
  • Add FCalendar
  • Add FBottomNavigationBar

Enhancements

  • Breaking Change FSwitch to be usable in Forms.
  • Breaking Rename FThemeData.checkBoxStyle to FThemeData.checkboxStyle for consistency.

Fixes

  • Fix missing style parameter for FCheckbox.

Forui Assets 0.2.0

03 Jul 04:09
Compare
Choose a tag to compare
  • Bump nitrogen from 0.2.0 to 0.3.0+1.
  • Bump nitrogen_types from 0.2.0 to 0.3.0+1.

Forui 0.2.0+3

03 Jul 04:10
Compare
Choose a tag to compare

Additions

  • Add FCheckbox.
  • Add FHeader.nested.
  • Add FProgress.

Enhancements

  • Breaking Move FHeaderStyle to FHeaderStyles.rootStyle.
  • Breaking Move FHeaderActionStyle.padding to FRootHeaderStyle.actionSpacing.
  • Breaking Suffix style parameters with Style, i.e. FRootHeaderStyle.action has been renamed to
    FRootHeaderStyle.actionStyle.
  • Breaking Raw fields have been removed, wrap strings with the Text() widget. E.g. FButton(label: 'Hello') or
    FButton(rawLabel: 'Hello') should be replaced with FButton(label: Text('Hello')).
  • Change FTextField to be usable in Forms.
  • Change FTextFieldStyle's default vertical content padding from 5 to 15.
  • Split exports in forui.dart into sub-libraries.

Fixes

  • Fix missing key parameter in FTextField constructors.
  • Breaking FButton.prefixIcon and FButton.suffixIcon have been renamed to FButton.prefix and FButton.suffix.
  • Fix padding inconsistencies in FCard and FDialog.

Forui Assets 0.1.0

26 Jun 04:02
Compare
Choose a tag to compare

Initial Release!

Forui - 0.1.0

26 Jun 04:01
Compare
Choose a tag to compare

Initial Release!