PreferredSize constructor
Creates a widget that has a preferred size that the parent can query.
Implementation
const PreferredSize({
super.key,
required this.preferredSize,
required this.child,
});
Creates a widget that has a preferred size that the parent can query.
const PreferredSize({
super.key,
required this.preferredSize,
required this.child,
});