Add Border Circle To Icon Button Flutter Code Example


Example 1: 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: () {},     ),   ), )

Example 2: circular icon button flutter

RawMaterialButton(   onPressed: () {},   elevation: 2.0,   fillColor: Colors.white,   child: Icon(     Icons.pause,     size: 35.0,   ),   padding: EdgeInsets.all(15.0),   shape: CircleBorder(), )

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android SDK Location Should Not Contain Whitespace, As This Cause Problems With NDK Tools