Skip to content

Commit

Permalink
Fix exception when using Flutter Inspector (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfccp authored Apr 15, 2024
1 parent 2219a36 commit cd35d44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ final class PrototypeConstrainedBox extends RenderObjectWidget {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<Widget>('prototype', prototype));
properties.add(DiagnosticsProperty<Widget>('child', child));
properties.add(FlagProperty('constrainMinWidth', value: constrainMinWidth));
properties.add(FlagProperty('constrainMaxWidth', value: constrainMaxWidth));
properties.add(FlagProperty('constrainMinHeight', value: constrainMinHeight));
properties.add(FlagProperty('constrainMaxHeight', value: constrainMaxHeight));
properties.add(DiagnosticsProperty<bool>('constrainMinWidth', constrainMinWidth));
properties.add(DiagnosticsProperty<bool>('constrainMaxWidth', constrainMaxWidth));
properties.add(DiagnosticsProperty<bool>('constrainMinHeight', constrainMinHeight));
properties.add(DiagnosticsProperty<bool>('constrainMaxHeight', constrainMaxHeight));
}
}

Expand Down

0 comments on commit cd35d44

Please sign in to comment.