fleasy 0.18.0
fleasy: ^0.18.0 copied to clipboard
Useful and easy to use extensions, helper classes and widgets to create Flutter apps easier.
0.18.0 #
- fix(flashbars): use the correct BuildContext for accessing the theme to prevent "Looking up a deactivated widget's ancestor is unsafe" on navigation
- refactor(flashbars): replace usage of deprecated
Theme.of(context).dialogBackgroundColorwithDialogTheme.of(context).backgroundColor - chore: upgrade dependencies and remove deprecated lint rules
0.17.0 #
- update intl to
^0.19.0in order to support Flutter 3.22 - update flutter_lints to
^4.0.0
0.16.0 #
- breaking: remove
context.mediaQuery(use the other helpers or the specific...Ofmethods instead) - refactor size and orientation
BuildContextextensions to use the specific...Ofmethods to reduce rebuilds. - add
context.screenSizeandcontext.screenOrientationextensions - chore: update dependencies
0.15.1 #
- replace deprecated lint rules
0.15.0 #
- remove dart_code_metrics because it's paid now
- migrate to flash v3
- update dependencies
- update sdk version
0.14.2 #
- feat: add use-setstate-synchronously DCM rule
- fix(flashbar): change deprecated
bodyText2tobodyMedium - fix: exclude analysis for injectable generated file
- chore: bump dependencies
0.14.0 #
- 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
0.12.1 #
- Update dependencies
- Make ScreenWidthBreakpoints constants
0.12.0 #
- Add more dart_code_metrics rules
0.11.0 #
- Add
Gap.w32()andGap.h32() - Remove
DeviceTypeclass (Use universal_platform instead) - Revise adaptive helpers:
- Remove
context.screenSize(usecontext.formFactor()instead) - Make
context.formFactora function with the argumentfollowDeviceOrientation - Rename
FormFactor.handsettoFormFactor.mobile - Remove
FormFactor.watch - Rename
FormFactorBreakpointstoScreenWidthBreakpoints
- Remove
0.10.0 #
- Add
Gapwidget
0.9.0 #
- Improve navigation helpers
- Remove:
prefer-extracting-callbackslint rule
0.8.0 #
- Add: shadow to flasbars
0.7.1 #
- Fix: Add
prefer_relative_importslint rule
0.7.0 #
- Add theme helpers/extensions on
BuildContext - Add
prefer_relative_importslint rule - Breaking: remove extensions on
List<DateTime>
0.6.0 #
- Make flashbars more customizable (via theme)
- Add more dart code metric rules
0.5.0 #
EasyStreamBuilder&EasyFutureBuilder:- When the snapshot's data is
null(andTis nullable), it will now show the widget returned by thedataBuilder. Before, it showed theisEmptyTextandisEmptyIcon. - When the snapshot has an error in debug mode, it will now
throwthe error to give more insights. Before, it just displayed the error as a text.
- When the snapshot's data is
0.4.1 #
- Fix:
isEmailis now case insensitive - Improve README and doc comments
0.4.0 #
- Add
byFormFactor<T>to extensions onBuildContext(see docs) - Add helper getters to
context.formFactor&context.screenSizeenums
0.3.2 #
- Add logo
- Add GitHub workflow for automatically publishing new versions to pub.dev on a new release
0.3.1 #
- Improve analysis options
- Add key to widget constructors
- Export
analysis_options.yaml(see new section in README)
0.3.0 #
- Add Flashbar extensions to
BuildContextshowSuccessFlashbar(...)showInfoFlashbar(...)showErrorFlashbar(...)showNoConnectionFlashbar(...)
- Add
addHtppsto string extensions - BREAKING: Refactor
EasyFutureBuilder&EasyStreamBuilder:errorIcon&isEmptyIconnow takeIconDatainstead ofFaIcon- new attributes:
textStyle&iconStyle
- BREAKING: Remove
shortestScreenSide&longestScreenSide - Improve README
0.2.2 #
- BREAKING: do whitespace check on
isNotBlank&isBlank - Add
isNotBlank&isBlanktoStringextensions too - Add
isEasyPasswordtoString?extensions too - Add several tests
- Improve doc comments and README
0.2.1 #
- Add CI workflow and badge
- Improve date_time_test
- Improve README
0.2.0 #
- 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
0.1.0 #
- Initial release