- update intl to
^0.19.0
in order to support Flutter 3.22 - update flutter_lints to
^4.0.0
- breaking: remove
context.mediaQuery
(use the other helpers or the specific...Of
methods instead) - refactor size and orientation
BuildContext
extensions to use the specific...Of
methods to reduce rebuilds. - add
context.screenSize
andcontext.screenOrientation
extensions - chore: update dependencies
- replace deprecated lint rules
- remove dart_code_metrics because it's paid now
- migrate to flash v3
- update dependencies
- update sdk version
- feat: add use-setstate-synchronously DCM rule
- fix(flashbar): change deprecated
bodyText2
tobodyMedium
- fix: exclude analysis for injectable generated file
- chore: bump dependencies
- chore: bump
dart_code_metrics
version to ^4.16.0 #9
- Bump dart-sdk to
>=2.17.1
- Bump dart_code_metrics to
^4.15.2
- Bump flutter_lints to
^2.0.1
- New rule and lints:
- prefer-immediate-return
- use_super_parameters
- avoid_returning_this
- prefer_mixin
- sized_box_shrink_expand
- unnecessary_parenthesis
- unnecessary_raw_strings
- use_enums
- use_colored_box
- use_decorated_box
- use_if_null_to_convert_nulls_to_bools
- use_is_even_rather_than_modulo
- use_string_buffers
- use_to_and_as_if_applicable
- Disable analysis/metrics in generated files #8
- Update dependencies
- Make ScreenWidthBreakpoints constants
- Add more dart_code_metrics rules
- Add
Gap.w32()
andGap.h32()
- Remove
DeviceType
class (Use universal_platform instead) - Revise adaptive helpers:
- Remove
context.screenSize
(usecontext.formFactor()
instead) - Make
context.formFactor
a function with the argumentfollowDeviceOrientation
- Rename
FormFactor.handset
toFormFactor.mobile
- Remove
FormFactor.watch
- Rename
FormFactorBreakpoints
toScreenWidthBreakpoints
- Remove
- Add
Gap
widget
- Improve navigation helpers
- Remove:
prefer-extracting-callbacks
lint rule
- Add: shadow to flasbars
- Fix: Add
prefer_relative_imports
lint rule
- Add theme helpers/extensions on
BuildContext
- Add
prefer_relative_imports
lint rule - Breaking: remove extensions on
List<DateTime>
- Make flashbars more customizable (via theme)
- Add more dart code metric rules
EasyStreamBuilder
&EasyFutureBuilder
:- When the snapshot's data is
null
(andT
is nullable), it will now show the widget returned by thedataBuilder
. Before, it showed theisEmptyText
andisEmptyIcon
. - When the snapshot has an error in debug mode, it will now
throw
the error to give more insights. Before, it just displayed the error as a text.
- When the snapshot's data is
- Fix:
isEmail
is now case insensitive - Improve README and doc comments
- Add
byFormFactor<T>
to extensions onBuildContext
(see docs) - Add helper getters to
context.formFactor
&context.screenSize
enums
- Add logo
- Add GitHub workflow for automatically publishing new versions to pub.dev on a new release
- Improve analysis options
- Add key to widget constructors
- Export
analysis_options.yaml
(see new section in README)
- Add Flashbar extensions to
BuildContext
showSuccessFlashbar(...)
showInfoFlashbar(...)
showErrorFlashbar(...)
showNoConnectionFlashbar(...)
- Add
addHtpps
to string extensions - BREAKING: Refactor
EasyFutureBuilder
&EasyStreamBuilder
:errorIcon
&isEmptyIcon
now takeIconData
instead ofFaIcon
- new attributes:
textStyle
&iconStyle
- BREAKING: Remove
shortestScreenSide
&longestScreenSide
- Improve README
- BREAKING: do whitespace check on
isNotBlank
&isBlank
- Add
isNotBlank
&isBlank
toString
extensions too - Add
isEasyPassword
toString?
extensions too - Add several tests
- Improve doc comments and README
- Add CI workflow and badge
- Improve date_time_test
- Improve README
- BREAKING: Refactor EasyFutureBuilder & EasyStreamBuilder
- BREAKING: Rename closeKeyboard() to dismissKeyboard() on BuildContext extensions
- Add screenSize, shortestScreenSide & longestScreenSide to BuildContext extensions
- Add isUrl, isEasyPassword, isMediumPassword & isStrongPassword to String extensions
- Add doc comments
- Add example
- Improve README
- Initial release