How to create a custom round icon button similar to FloatingActionButton

While FloatingActionButton always comes in handy when making a prominent icon button, sometimes we want to customize the button to suit our needs.For this we can use RawMaterialButton to get the customization we want.An example is given below:-

  onPressed: () {},
  elevation: 2.0,
  fillColor: Colors.yellow[300],
  child: Icon(
    size: 140.0,
  shape: CircleBorder(),

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.