Answers for "how to add border-radius to a container in flutter"

4

flutter container radius

Container(
  child: Text("It's text..."),
  decoration: BoxDecoration(
    borderRadius: BorderRadius.circular(10),  // radius of 10
    color: Colors.green  // green as background color
  )
)
Posted by: Guest on September-25-2020

Code answers related to "how to add border-radius to a container in flutter"

Browse Popular Code Answers by Language