FlatButton padding 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,)