Skip to content

Commit

Permalink
Remove const from FillOrWrap's constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasWanke committed May 11, 2023
1 parent 92ddfc6 commit 8eb3ce3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/widgets/fill_or_wrap.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ import '../render_object.dart';
/// positioned **below each other** ("wrapped"). This is similar to a [Column]
/// with [MainAxisSize.min].
class FillOrWrap extends MultiChildRenderObjectWidget {
const FillOrWrap({
// TODO(JonasWanke): Make this const when upgrading the minimum Flutter version.
// ignore: prefer_const_constructors_in_immutables
FillOrWrap({
super.key,
this.spacing = 0,
this.wrappedSpacing = 0,
Expand Down

0 comments on commit 8eb3ce3

Please sign in to comment.