top corner radius flutter code example
Example 1: flutter container rounded corners
Container(
decoration: BoxDecoration(
border: Border.all(
color: Colors.red[500],
),
borderRadius: BorderRadius.all(Radius.circular(20))
),
child: ...
)
Example 2: flutter border radius
borderRadius: BorderRadius.all(Radius.circular(5.0))