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