Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the padding of Radio or RadioListTile in flutter?

Tags:

flutter

I am trying to do some ui customization, but I don't figure out how to reduce the padding of a Radio or RadioList in Flutter.

Can we do it ?

like image 815
Darkjeff Avatar asked Apr 04 '19 01:04

Darkjeff


1 Answers

If you are using RadioListTile then set dense to true.

If it's a Radio then materialTapTargetSize: MaterialTapTargetSize.shrinkWrap will reduce the size.

Otherwise, make your own.

like image 181
Doc Avatar answered Nov 11 '22 12:11

Doc