Answers for "slivergrid.count with round corner flutter"

2

flutter round container

QUESTION: Flutter give container rounded border

ANSWER1: 

Container(
    decoration: BoxDecoration(
    shape: BoxShape.circle,
    ),
    child:   ...
    ),

ANSWER 2:
Container(
  decoration: BoxDecoration(
    border: Border.all(
      color: Colors.red[500],
    ),
    borderRadius: BorderRadius.all(Radius.circular(20))
  ),
  child: ...
)
Posted by: Guest on August-18-2020
0

rounded expansion tile flutter

Just wrap it with a ClipRRect widget, it allows you to set a border radius for any widget.
Posted by: Guest on October-19-2021

Code answers related to "slivergrid.count with round corner flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language