Center constructor

const Center({
  1. Key? key,
  2. Widget? child,
})

Creates a Center widget with the given optional child.

Implementation

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