uiCenter method
Provides the ability to center a widget with the ability to specify the visibility of the child tree of widgets wrapped by this.
Implementation
Widget uiCenter({
Key? key,
Widget? child,
double? heightFactor,
double? widthFactor,
}) {
return Center(
key: key,
heightFactor: heightFactor,
widthFactor: widthFactor,
child: child,
);
}