radius in flutter code example
Example 1: 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
)
)
Example 2: flutter border radius
borderRadius: BorderRadius.all(Radius.circular(5.0))