All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- color_material: Deprecate
ThemeMaterialColors
containingonPrimary
,highEmphasisOnPrimary
,mediumEmphasisOnPrimary
,disabledOnPrimary
,onSecondary
,highEmphasisOnSecondary
,mediumEmphasisOnSecondary
,disabledOnSecondary
,onBackground
,highEmphasisOnBackground
,mediumEmphasisOnBackground
,disabledOnBackground
,onError
,highEmphasisOnError
,mediumEmphasisOnError
, anddisabledOnError
.
- upgrade to Flutter v3.10.0, Dart v3.0.0
- delegate accent color getters to secondary (
78f72f2
)
- actually use
context.showSimpleSnackBar(…)
'saction
parameter (cf95317
)
- upgrade to Flutter v3.7.0, Dart v2.19.0 (
e400915
)
- remove
ChipGroup
→ use Flutter'sWrap
instead (8f89c63
) - remove
SeparatedButtons
→ use Flutter'sWrap
instead (5cf0277
) - remove
TitleAndSubtitle
(41cc403
) - upgrade to Flutter:
>=3.3.0
, Dart>=2.18.0 <3.0.0
(5c7230e
)
- add
ReportingNavigatorObserver
(0dcd1ff
) - add
CenterOrScroll
(f52667c
) - add
expandOrScroll.key
and.scrollDirection
(1f6f9d8
) - add
SnackBarAction? action
parameter tobuildContext.
andscaffoldMessengerState.showSimpleSnackBar(…)
(e0bbfa2
)
- remove dependency on the discontinued supercharged (
b1831db
)
- widgets: add
expandOrScroll.scrollController
- widgets: add
separatedButtons.textStyle
- color_material: Deprecate
themeData.onAccent
,.highEmphasisOnAccent
,.mediumEmphasisOnAccent
, and.disabledOnAccent
. UsethemeData.onSecondary
,.highEmphasisOnSecondary
,.mediumEmphasisOnSecondary
, or.disabledOnSecondary
instead.
- update lints
- update issue and PR templates
- add build & lint CI
- example: update Android wrapper
- content: add
buildContext.showSimpleSnackBar
,.showSnackBar
, andscaffoldMessengerState.showSimpleSnackBar
- widgets: add
ExpandOrScroll
- depend on the stable Dart SDK
>=2.12.0 <3.0.0
- depend on the stable version of supercharged:
2.0.0
- navigation: allow nullable route return types in
pushAndRemoveAll
andpushNamedAndRemoveAll
- change SDK constraint to
>=2.12.0-0 <3.0.0
to enable null-safety - navigation: replace
BuildContext.modalRoute
withBuildContext.getModalRoute<T>()
to return a strongly typedModalRoute<T>?
(instead ofModalRoute<dynamic>?
) - widgets/buttons: replace
FancyTextButton
,FancyOutlineButton
, andFancyRaisedButton
withFancyFlatButton
,FancyOutlinedButton
, andFancyElevatedButton
, respectively- These buttons no longer accept individual style parameters like
textColor
,color
, orshape
, but instead accept an optionalButtonStyle? style
, just like the original Material Design buttons
- These buttons no longer accept individual style parameters like
- context: add
BuildContext.scaffoldMessenger
&BuildContext.scaffoldMessengerOrNull
- support Flutter
>=1.24.0-7.0.pre
- bottom_sheet: export DragIndicator
- bottom_sheet: expand content to fill cross axis
- widgets/buttons: add customizable
loadingIndicator
- widgets/buttons: allow reversing extended FAB's child order (to show the icon on the right)
- widgets/buttons: choose disabled FAB's foreground color based on the background color
- widgets/buttons: add
shape
parameter
- update dartx to
^0.5.0
- context: add
BuildContext.focusScope
- update dartx to
^0.4.0
- update Flutter to
>=1.17.0
- async: add
AsyncSnapshot.hasNoData
,AsyncSnapshot.hasNoError
- color: add
Random.nextColorHsl()
,Random.nextColorHsv()
- context: add
BuildContext.overlay
- example: update packages
- widgets: add
TitleAndSubtitle
- update dartx to
^0.3.0
- color: add
Color.isOpaque
- color: add
int.alphaToOpacity
,double.opacityToAlpha
- context: add
BuildContext.materialLocalizations
- context: add
BuildContext.scaffoldOrNull
- size: add
Size.coerceAtLeast
,Size.coerceAtMost
- context: add
BuildContext.locale
- render_object: add
ContainerRenderObjectMixin.children
- color: add
Color.isDark
,Color.isLight
- fill README with missing extensions and widgets
- color: allow fixed red, green or blue values in
Random.nextColor()
- fillOrWrap: create
FillOrWrap
widget - navigation: add
LoggingNavigatorObserver
- color: add
Color.alphaBlendOn()
- color: add
Random.nextColor()
- widgets/buttons: use default child for extended buttons while not loading
- color: add
Color.withAdditionalOpacity
,Color.withAdditionalAlpha
- color: add
contrastSystemUiOverlayStyle
getters toBrightness
,Color
- widgets/buttons: add
icon
-variants toFancyFlatButton
,FancyOutlineButton
&FancyRaisedButton
- widgets/buttons: add
textColor
to all fancy buttons - widgets/buttons: add
FancyOutlineButton.borderSide
,FancyOutlineButton.highlightedBorderColor
- add
Color.hsl
,Color.hsv
extensions
- correctly display
FancyFab.extended
- fix naming:
FancyFab.icon
is now calledFancyFab.child
FancyFab
's background color is now the same as that of other buttons
- add button demo to README
FancyButton
logic is now handled in their base_FancyButton
- remove unused parameter from
NavigatorState.pushNamedAndRemoveAll
- add missing export
- add
NavigatorState.pushAndRemoveAll
,NavigatorState.pushNamedAndRemoveAll
- example: add example app showcasing new widgets
- add
Size.diagonal
,Size.squaredDiagonal
- allow loading buttons without a
loadingChild
- rename
LoadingRaisedButton
toFancyRaisedButton
- make
FancyFab.isExtended
private
- fill the README with a package overview
Initial release 🎉