Material Center Widget Tutorial

A widget that centers its child within itself. This widget will be as big as possible if its dimensions are constrained and widthFactor and heightFactor are null.


Material Center Widget useful Inputs

  • child: The widget below this widget in the tree.


Material Center Widget example

Center(
   child: Text("Bismillah App Body"),
)