fixed PreferredSize constuctor invocations (#128181)
This PR changes the `PreferredSize` constructor parameter positioning to cover the constructor invocations. It helps on auto-complete and suggestion. *List which issues are fixed by this PR. You must list at least one issue.* Fixes #128178
This commit is contained in:
parent
3b013b7bc2
commit
b733901de1
@ -69,8 +69,8 @@ class PreferredSize extends StatelessWidget implements PreferredSizeWidget {
|
|||||||
/// Creates a widget that has a preferred size that the parent can query.
|
/// Creates a widget that has a preferred size that the parent can query.
|
||||||
const PreferredSize({
|
const PreferredSize({
|
||||||
super.key,
|
super.key,
|
||||||
required this.child,
|
|
||||||
required this.preferredSize,
|
required this.preferredSize,
|
||||||
|
required this.child,
|
||||||
});
|
});
|
||||||
|
|
||||||
/// The widget below this widget in the tree.
|
/// The widget below this widget in the tree.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user