Answers for "align flutter wodget"

2

flutter align widget

Center(
        child: Container(
          color: Colors.blue[100], 
          height: 200.0,
          width: 200.0,
          child: Align(
            alignment: Alignment.center, // or AlignmentDirectional.center,
                     //Alignment(0.0,0.0) value must be 1 to -1
            child: Text('Align')
          )
        ),
      )
Posted by: Guest on August-29-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language