If you want to set size to FloatingActionButton in Flutter? Use a Container where you can specify width and height, then use a RawMaterialButton, like below example:
1 2 3 4 5 6 7 8 9 10 11 12 | myFabButton = Container( width: 200.0, height: 200.0, child: new RawMaterialButton( shape: new CircleBorder(), elevation: 0.0, child: Icon( Icons.favorite, color: Colors.blue, ), onPressed: (){}, ); |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.