diff --git a/lib/src/widgets/fill_or_wrap.dart b/lib/src/widgets/fill_or_wrap.dart index 04909fe..71e62fe 100644 --- a/lib/src/widgets/fill_or_wrap.dart +++ b/lib/src/widgets/fill_or_wrap.dart @@ -17,9 +17,7 @@ import '../render_object.dart'; /// positioned **below each other** ("wrapped"). This is similar to a [Column] /// with [MainAxisSize.min]. class FillOrWrap extends MultiChildRenderObjectWidget { - // TODO(JonasWanke): Make this const when upgrading the minimum Flutter version. - // ignore: prefer_const_constructors_in_immutables - FillOrWrap({ + const FillOrWrap({ super.key, this.spacing = 0, this.wrappedSpacing = 0, diff --git a/pubspec.yaml b/pubspec.yaml index f1df549..416531d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -8,7 +8,7 @@ screenshots: environment: sdk: '>=3.0.0 <4.0.0' - flutter: '>=3.7.0' + flutter: '>=3.10.0' dependencies: collection: ^1.16.0