Answers for "align a widget"

0

Align widget

Center(
  child: Container(
    height: 120.0,
    width: 120.0,
    color: Colors.blue[50],
    child: Align(
      alignment: Alignment(0.5, 0.6),
      child: FlutterLogo(
        size: 60,
      ),
    ),
  ),
)
Posted by: Guest on October-05-2020

Code answers related to "align a widget"

Code answers related to "Dart"

Browse Popular Code Answers by Language