Answers for "when to use Container in flutter"

2

flutter container

Container(
            alignment: Alignment.center,
            child: Text('Container'),
            width: 200.0,
            height: 200.0,
            decoration: BoxDecoration(
              color: Colors.purple[200],
              borderRadius: BorderRadius.circular(60.0)              
            )
          ),
Posted by: Guest on August-29-2021
0

container inside container flutter

Container(
  width: 200.0,
  height: 200.0,
  color: Colors.orange,
  child: Container(
    width: 50.0,
    height: 50.0,
    color: Colors.blue,
  ),
)
Posted by: Guest on August-24-2021

Code answers related to "when to use Container in flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language