Open Number-3434 opened 10 months ago
@goderbauer
I am not sure how this lint would work or what cases it is supposed to catch. Can you add more context to your proposal?
Usually this error occurs if a widget expects ParentData
of BoxParentData
and instead got FlexParentData
(or vice versa).
Usually this can be fixed by inserting an Expanded
widget in the correct place.
Describe the rule you'd like to see added and to what rule set
Lint
Lint to protect against the error "Incorrect Use of ParentData Widget" in Flutter.
Ruleset:
flutter_lints