centre text fiel flutter code example
Example: flutter center text in container
child: Center(
child: Text(
"Hello World",
textAlign: TextAlign.center,
),
),
child: Center(
child: Text(
"Hello World",
textAlign: TextAlign.center,
),
),