Open Ednokia777 opened 2 years ago
try autoWidth and padding properties
try autoWidth and padding properties
It did't help. I tried to do it
@Ednokia777 Not sure if it's actual for you or not, but you can wrap CustomRadioButton with Theme and override ButtonThemeData params:
Theme(
data: Theme.of(context).copyWith(buttonTheme: const ButtonThemeData(minWidth: 0, padding: EdgeInsets.zero)),
child: CustomRadioButton(...),
)
This will remove padding inside buttons
I tried to do it but wasn't manage
This is I try to achieve .