File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ class ButtonBar extends StatelessWidget {
233
233
class _ButtonBarRow extends Flex {
234
234
/// Creates a button bar that attempts to display in a row, but displays in
235
235
/// a column if there is insufficient horizontal space.
236
- const _ButtonBarRow ({
236
+ _ButtonBarRow ({
237
237
required super .children,
238
238
super .mainAxisSize,
239
239
super .mainAxisAlignment,
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ class _TabLabelBarRenderer extends RenderFlex {
275
275
// upon layout. The tab widths are only used at paint time (see _IndicatorPainter)
276
276
// or in response to input.
277
277
class _TabLabelBar extends Flex {
278
- const _TabLabelBar ({
278
+ _TabLabelBar ({
279
279
super .children,
280
280
required this .onPerformLayout,
281
281
}) : super (
Original file line number Diff line number Diff line change @@ -4445,7 +4445,9 @@ class Flex extends MultiChildRenderObjectWidget {
4445
4445
/// to be necessary to decide which direction to lay the children in or to
4446
4446
/// disambiguate `start` or `end` values for the main or cross axis
4447
4447
/// directions, the [textDirection] must not be null.
4448
- const Flex ({
4448
+ // TODO(goderbauer): Figure out whether this can be const.
4449
+ // ignore: prefer_const_constructors_in_immutables
4450
+ Flex ({
4449
4451
super .key,
4450
4452
required this .direction,
4451
4453
this .mainAxisAlignment = MainAxisAlignment .start,
@@ -4812,7 +4814,7 @@ class Row extends Flex {
4812
4814
/// unless the row has no children or only one child) or to disambiguate
4813
4815
/// `start` or `end` values for the [mainAxisAlignment] , the [textDirection]
4814
4816
/// must not be null.
4815
- const Row ({
4817
+ Row ({
4816
4818
super .key,
4817
4819
super .mainAxisAlignment,
4818
4820
super .mainAxisSize,
@@ -5005,7 +5007,7 @@ class Column extends Flex {
5005
5007
/// any. If there is no ambient directionality, and a text direction is going
5006
5008
/// to be necessary to disambiguate `start` or `end` values for the
5007
5009
/// [crossAxisAlignment] , the [textDirection] must not be null.
5008
- const Column ({
5010
+ Column ({
5009
5011
super .key,
5010
5012
super .mainAxisAlignment,
5011
5013
super .mainAxisSize,
You can’t perform that action at this time.
0 commit comments