uiCenter method

Widget uiCenter({
  1. Key? key,
  2. Widget? child,
  3. double? heightFactor,
  4. double? widthFactor,
})

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,
  );
}