0 padding on flatbutton flutter code example
Example 1: flutter remove extra space in flatbutton
FlatButton(
padding: EdgeInsets.zero,
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,)
Example 2: flutter remove extra space in flatbutton
FlatButton(materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,)