SizedBoxModifier constructor
const
SizedBoxModifier({})
Creates a fixed size box. The width
and height
parameters can be null
to indicate that the size of the box should not be constrained in
the corresponding dimension.
Implementation
const SizedBoxModifier({
super.key,
super.child,
super.modifierKey,
this.width,
this.height,
});