Center constructor

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

Creates a widget that centers its child.

Implementation

const Center({ super.key, super.widthFactor, super.heightFactor, super.child });