I am new to flutter. While I am wandering through flutter docs. I found MaterialTapTargetSize in Button's property. The docs made me confused.
So I want to know
simple English that would be better for me. Thank you
but you have this
Notice the space around the checkbox is preventing it from aligning to the start as the TextField above it.
Checkbox(
value: model.checkboxValue,
onChanged: (onChanged) {
model.onCheckboxChecked(onChanged);
},
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
),
Note that this reduces the space around the checkbox, it doesn't remove it fully.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With