Want to make my raw material buttons large and more tightly packed together? Changing the padding property, unfortunately, did not work for me. However, changing the constraints parameter like in this example turned out to be quite effective:
1 2 3 4 5 6 7 8 | RawMaterialButton( constraints: BoxConstraints.tight(Size(36, 36)), onPressed: null, child: Icon(Icons.trending_up, size: 18), shape: new CircleBorder(), elevation: 0.0, fillColor: Color.fromARGB(255, 240, 240, 240), ), |
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.