objectCenter method
Can be used to align a widget to center.
Implementation
Align objectCenter({
Key? key,
double? heightFactor,
double? widthFactor,
}) =>
Align(
key: key,
child: this,
alignment: Alignment.center,
heightFactor: heightFactor,
widthFactor: widthFactor,
);