Skip to content

Forui 0.8.0

Latest
Compare
Choose a tag to compare
@Pante Pante released this 19 Dec 10:21
· 4 commits to main since this release

Bump minimum Flutter version to 3.27.0.

Additions

  • Add showFSheet(...).

  • Add showFPersistentSheet(...).

  • Add FModalSheetRoute.

  • Add FSheets.

  • Add FSheets internally to FScaffold.

  • Add truncateAndStripTimezone to FCalendarController.date(...).

  • Add truncateAndStripTimezone to FCalendarController.dates(...).

  • Add truncateAndStripTimezone to FCalendarController.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.start to be optional and default to 1st January 1900.

  • Change FCalendar.end to be optional and default to 1st January 2100.

  • Change FTheme to internally extend InheritedTheme.

  • Change FTileGroup to be scrollable.

  • Change FPopoverMenu to be scrollable.

  • Change FSelectTileGroup to be scrollable.

  • Change FSelectMenuTile to be scrollable.

  • Change ThemeBuildContext to FThemeBuildContext.

  • Breaking Change Layout to FLayout.

  • Breaking Change FLocalizations.of(...) to return FLocalizations? instead of FLocalizations - do FLocalizations.of(...) ?? FDefaultLocalizations().
    This change is sadly needed as Flutter now forcefully regenerates FLocalizations each time flutter pub get is called.

  • Breaking Change FTileData.index to FTileData.last.

  • Breaking Change FPopoverMenu.controller to FPopoverMenu.popoverController.

  • Breaking Change FSelectTileGroup.controller to FSelectTileGroup.groupController.

  • Breaking Change FPopoverController.duration to FPopoverController.animationDuration.

  • Breaking Change FTooltipController.duration to FTooltipController.animationDuration.

  • Breaking Change FTabController.ignoreDirectionalPadding to FTabController.directionPadding.

  • Breaking Change FPopover.ignoreDirectionalPadding to FPopover.directionPadding - the value should be inverted.*

  • Breaking Change FPopoverMenu.ignoreDirectionalPadding to FPopoverMenu.directionPadding - the value should be inverted.

  • Breaking Change FSelectMenuTile.ignoreDirectionalPadding to FSelectMenuTile.directionPadding - the value should be inverted.

Fixes

  • Resolved an issue where FLabel exhibited incorrect padding when used with Axis.horizontal and RTL layouts.