Answers for "How to create a circle icon button border radius in Flutter?"

1

Round button with text and icon in flutter

OutlinedButton.icon(
              icon: Icon(Icons.home),
              onPressed: (){}, 
              label: Text('OutlinedButton'),
              style: OutlinedButton.styleFrom(
                shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(20.0))
              )
            ),
Posted by: Guest on August-24-2021
0

flutter icon button circle

ClipOval(
  child: Material(
    color: Colors.blue, // button color
    child: InkWell(
      splashColor: Colors.red, // inkwell color
      child: SizedBox(width: 56, height: 56, child: Icon(Icons.menu)),
      onTap: () {},
    ),
  ),
)
Posted by: Guest on February-19-2021
2

round border button flutter

RawMaterialButton(
  onPressed: () {},
  elevation: 2.0,
  fillColor: Colors.white,
  child: Icon(
    Icons.pause,
    size: 35.0,
  ),
  padding: EdgeInsets.all(15.0),
  shape: CircleBorder(),
)
Posted by: Guest on January-21-2021

Code answers related to "How to create a circle icon button border radius in Flutter?"

Code answers related to "Dart"

Browse Popular Code Answers by Language