fluttils 4.0.0 fluttils: ^4.0.0 copied to clipboard
A package that contains utility widgets and functions for Flutter.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
⚠️ represents a breaking change
[4.0.0] - 2022-03-08 #
Added #
MappedListView
widgetshort
factory constructor toSplashScreen
widgetprovider
as a dependencyFutureBuilder
andStreamBuilder
now support error handling with error and stacktrace
Changed #
- Make all widgets available as constants
TapOutsideToUnfocus
is now calledContextUnfocuser
Visibility
widget is now controlled by aVisibilityLevel
SplashScreen
widget now builds the result in-place instead of pushing a new routeText
widget now supportsTextAlign
as parameterHeight
andWidth
single-parameters are now default to zero instead of infinity
Removed #
Group
widgetSimpleSplashScreen
widgetOnDemandListView
widget- Prefix "Simple" from widgets, preferring an import alias as alternative
- Default values for button texts on custom dialogs
[1.4.5] - 2021-04-01 #
[1.4.4] - 2021-04-01 #
Added #
- More widget tests
Changed #
- ⚠️
onBuild
parameter ofindexed
constructor ofOnDemandListView
is now positional - Enforce widget types (
SimpleStreamBuilder
is now aStreamBuilder
,SimpleFutureBuilder
is now aFutureBuilder
)
Fixed #
SimpleStreamBuilder
now displays its progress indicator correctly
[1.4.3] - 2021-03-31 #
Added #
- More widget tests
Changed #
- Enforce widget types (
SimpleStack
is now aStack
;SafeScaffold
is now aSafeArea
;OnDemandListView
is now aListView
;SimpleVisibility
is now aVisibility
;SplashScreen
is now aFutureBuilder
)
Fixed #
- ⚠️
floatingActionBar
parameter ofSafeScaffold
is renamed tofloatingActionButton
[1.4.2] - 2021-03-31 #
Added #
FontStyle
attribute toStyledText
- Widget tests for
StyledText
,SimplePadding
,Width
andHeight
- Travis and Codecov badges to README.md
Changed #
value
parameter ofWidth
andHeight
now is optionalsize
extension property ofBuildContextUtils
is nowscreenSize
Fixed #
- Not using the
fontSize
parameter ofStyledText
now is valid
[1.4.1] - 2021-03-31 #
Added #
physics
parameter toOnDemandListView
- Examples to README.md and example/README.md
Changed #
- ⚠️
builder
parameters fromSimpleFutureBuilder
andSimpleStreamBuilder
now receives aBuildContext
- ⚠️
stream
andfuture
named parameters fromSimpleFutureBuilder
andSimpleStreamBuilder
are now positional SplashScreen
is now aStatelessWidget
- Documentation improved
Fixed #
int
attribute onStyledText
to represent afontSize
is now valid
[1.4.0] - 2021-03-31 #
Added #
Height
andWidth
widgetsSafeScaffold
widgetSimpleStack
widget- Documentation for
SimpleFutureBuilder
andSimpleStreamBuilder
properties
Changed #
- Default value of
indicator
parameter fromSimpleFutureBuilder
andSimpleStreamBuilder
now isCenter(child: CircularProgressIndicator())
instead ofCircularProgressIndicator()
Fixed #
stream
parameter fromSimpleStreamBuilder
is now being used
[1.3.0] - 2021-03-30 #
[1.2.0] - 2021-03-29 #
[1.1.0] - 2021-03-29 #
Changed #
- ⚠️
onBuild
argument ofOnDemandListView
widget is now positional instead of named