Answers for "how to set radius of containerin 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 set radius of containerin flutter"

Browse Popular Code Answers by Language