Answers for "flutter border to a container"

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 "flutter border to a container"

Browse Popular Code Answers by Language