AlignModifier constructor
const
AlignModifier({})
Creates an alignment widget.
The alignment defaults to Alignment.center.
Implementation
const AlignModifier({
super.key,
super.child,
super.modifierKey,
this.alignment = Alignment.center,
this.widthFactor,
this.heightFactor,
}) : assert(widthFactor == null || widthFactor >= 0.0),
assert(heightFactor == null || heightFactor >= 0.0);