Unverified Commit b733901d authored by Md. Yeasin Sheikh's avatar Md. Yeasin Sheikh Committed by GitHub

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
parent 3b013b7b
......@@ -69,8 +69,8 @@ class PreferredSize extends StatelessWidget implements PreferredSizeWidget {
/// Creates a widget that has a preferred size that the parent can query.
const PreferredSize({
super.key,
required this.child,
required this.preferredSize,
required this.child,
});
/// The widget below this widget in the tree.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment