assorted_layout_widgets 5.4.1
assorted_layout_widgets: ^5.4.1 copied to clipboard
ColumnSuper, RowSuper, FitHorizontally, Box, WrapSuper, TextOneLine, Delayed, Pad, ButtonBarSuper, NormalizedOverflowBox, showDialogSuper, TimeBuilder.
5.4.1 - 2021-12-31 #
MaskFunctionTextInputFormatter.
5.3.0-dev0 - 2021-10-10 #
ColumnSuperparameter:removeChildrenWithNoHeight. See this example.
5.2.1 - 2021-10-10 #
GlobalValueKeyandGlobalStringKey.
5.1.3 - 2021-09-19 #
- Upgrade to Flutter 2.5.1
5.1.1 - 2021-09-06 #
- Fixed alignment bug in
RowSuperwhenfill: trueandMainAxisSize.maxandAlignment.center.
5.1.0 - 2021-08-27 #
TimeBuilderwidget.
5.0.3 - 2021-07-18 #
-
Box.copyWith()method. -
Now
Boxcan be changed by using theoperator +. For example, to hide the box:Box(...) + false;. To change the box color:Box(...) + Colors.green;. To change the box padding:Box(...) + Pad(all: 10);. To substitute the box child:Box(...) + Text('abc');. To put a box inside of another:Box(...) + Box(...);.
5.0.2 - 2021-07-16 #
- Now
TextOneLineis more similar to the nativeTextwidget, in preparation for when https://github.com/flutter/flutter/issues/18761 is fixed. You probably won't notice the difference and may continue using it as usual.
5.0.1 - 2021-06-22 #
-
showCupertinoDialogSuper. -
The
onDismissedcallback parameter forshowDialogSuperis called when the dialog is dismissed. That's still the case, but now that callback gets theresultof the dialog, when the dialog is popped byNavigator.of(context).pop(result). That way you can differentiate between the dialog being dismissed by an Ok or a Cancel button, for example. Noteresultisnullwhen the dialog is dismissed by tapping the barrier or pressing BACK in Android. Example:showDialogSuper<int>( ... actions: [ ElevatedButton( onPressed: (){Navigator.pop(context, 1);}, child: const Text("OK"), ElevatedButton( onPressed: (){Navigator.pop(context, 2);}, child: const Text("CANCEL"), ] ... onDismissed: (int? result) { if (result == 1) print("Pressed the OK button."); else if (result == 2) print("Pressed the CANCEL button."); else if (result == null) print("Dismissed with BACK or tapping the barrier."); });
4.0.10 - 2021-04-24 #
- Fixed bug in
WrapSuperintrinsic height.
4.0.9 - 2021-05-19 #
showDialogSupermethod is identical to the nativeshowDialog, except that it lets you define a callback for when the dialog is dismissed.
4.0.8 - 2021-04-05 #
- Fixed important bug in
FitHorizontallywidget (andRowSuperwhen using thefitHorizontallyparameter).
4.0.7 - 2021-04-13 #
NormalizedOverflowBoxwidget.
4.0.5 - 2021-04-10 #
WrapSuper.wrapFitparameter.ButtonBarSuperparameter.- New examples: WrapSuper WrapFit Example and ButtonBarSuper Example
4.0.2 - 2021-04-08 #
Pad.copyWith().
4.0.1 - 2021-03-22 #
- Fixed NNBD problem:
TextOneLineas child of an intrinsic size widget.
4.0.0 - 2020-11-10 #
- Nullsafety.
RowSuperhorizontal alignment now applied when there are noRowSpacers andMainAxisSizeismax.
3.0.1 - 2020-11-10 #
-
Breaking change: The
Boxwidget now has apaddingparameter. I recommend you use it with the newPadclass. For example:Box(padding: Pad(top: 4.0)). ThePadclass solves the verbosity problem, and having apaddingparameter makesBoxmore compatible withContainer( rememberBoxis like aContainerwhich can be madeconst, so it's best if their parameters are not too different). -
The debugging constructors of the
Boxwidget are now marked as deprecated so that you don't forget to remove them (they are not really deprecated).
2.0.1 - 2020-11-09 #
Padclass.
2.0.0 - 2020-10-02 #
- Support for Flutter 1.22.
1.3.6 - 2020-09-19 #
- Docs improvement.
- Fixed edge case for
RowSuper.
1.3.4 - 2020-09-14 #
- Docs improvement.
1.3.3 - 2020-08-31 #
- RowSuper:
fillparameter.
1.3.2 - 2020-08-13 #
Delayedwidget.
1.2.0 - 2020-06-25 #
- Breaking Change:
ColumnSuperwidth is now the max intrinsic width of its children, just like a regularColumn. To restore old behavior:Container(width: double.infinity, child: ColumnSuper(...)). - Breaking Change:
RowSuperheight is now the max intrinsic height of its children, just like a regularRow. To restore old behavior:Container(height: double.infinity, child: RowSuper(...)). - New examples: ColumnSuper Playground and RowSuper Playground.
1.1.4 - 2020-06-24 #
- Fix:
ColumnSuperintrinsic height, andRowSuperintrinsic width.
1.1.3 - 2020-06-15 #
- Fix:
WrapSuperminimum raggedness algorithm now uses the correct JavaScript'sNumber.MAX_SAFE_INTEGER. - Fix: Divide by zero conditions.
1.1.1 - 2020-05-19 #
- Docs improvement.
1.1.0 - 2020-05-06 #
- Upgraded to Flutter 1.17.
1.0.18 - 2020-04-01 #
WrapSuper.
1.0.15 - 2020-02-01 #
- Box now has
verticalandhorizontalas constructor parameters.
1.0.14 - 2019-12-11 #
TextOneLinethat fixes https://github.com/flutter/flutter/issues/18761.
1.0.13 - 2019-12-04 #
- Alignment fix.
1.0.12 - 2019-11-27 #
Box.
1.0.10 - 2019-11-25 #
FitHorizontallywidget.RowSpacerwidget.
1.0.0 - 2019-11-24 #
RowSuperandColumnSuperwidgets.