centered method

  1. @widgetFactory
Widget centered({
  1. double? widthFactor,
  2. double? heightFactor,
})

Centers this widget within the available space

Implementation

@widgetFactory
Widget centered({double? widthFactor, double? heightFactor}) {
  return FleetCenter(
    widthFactor: widthFactor,
    heightFactor: heightFactor,
    child: this,
  );
}