Answers for "how to add a border to a row in flutter"

16

flutter container border

Container(
  decoration: BoxDecoration(
    border: Border.all(
      color: Colors.red,  // red as border color
    ),
  ),
  child: Text("Your text...")
)
Posted by: Guest on September-25-2020
1

container border left

Container(
  decoration: BoxDecoration(
  	border: Border(
  		left: BorderSide(color: mainColor, width: 3),
  	),
  ),
),
Posted by: Guest on September-24-2020

Code answers related to "how to add a border to a row in flutter"

Browse Popular Code Answers by Language