Flutter & Dart · Component
Center
Center places one child in the middle of its available space. Optional width and height factors size the widget using the child’s dimensions.
Last updated
Syntax
const Center({Key? key, double? widthFactor, double? heightFactor, Widget? child})In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
AlignRowColumnContainerScrollView.centerViewport.center