center method

BetterUI center({
  1. double? widthFactor,
  2. double? heightFactor,
})

Implementation

BetterUI center({double? widthFactor, double? heightFactor}) {
  return _with((child) => Center(
        widthFactor: widthFactor,
        heightFactor: heightFactor,
        child: child,
      ));
}