Answers for "flutter shape roundedrectangle"

2

using shape property in flutter for circular corner

shape: RoundedRectangleBorder(
  borderRadius: BorderRadius.circular(18.0),
  side: BorderSide(color: Colors.red)
),
Posted by: Guest on May-09-2020
0

flutter squared avatar rounded borders

ClipRRect(
  borderRadius: BorderRadius.circular(20.0),//or 15.0
  child: Container(
    height: 70.0,
    width: 70.0,
    color: Color(0xffFF0E58),
    child: Icon(Icons.volume_up, color: Colors.white, size: 50.0),
  ),
),
Posted by: Guest on May-03-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language