hcCenter method

Widget hcCenter({
  1. double? heightFactor,
  2. double? widthFactor,
})

set parent widget in center

Implementation

Widget hcCenter({double? heightFactor, double? widthFactor}) {
  return Center(
    heightFactor: heightFactor,
    widthFactor: widthFactor,
    child: this,
  );
}