Answers for "flutter stack border"

9

add border color to acouintainer in flutter

Container(
  height: 100,
  width: 100,
  decoration: BoxDecoration(
    border: Border.all(
      color: Colors.blue,
    ),
    borderRadius: BorderRadius.circular(10.0),
  ),
  child: Center(
    child: Text('mrflutter.com'),
  ),
),
Posted by: Guest on May-21-2020
0

container border flutter

BoxDecoration myBoxDecoration() {
  return BoxDecoration(
    border: Border.all(),
  );
}
Posted by: Guest on December-14-2020

Browse Popular Code Answers by Language