With the Flutter 2.0 release, the FlatButton has been replaced with TextButton.
Hence, the padding property is not longer available directly, but as a ButtonStyle property.
My problem is, how can I set it since it's no longer available as EdgeInsets?
TextButton(
style: new ButtonStyle(
padding: ???,
),
//padding: const EdgeInsets.all(0), //NOT AVAILABLE
child: Text("Support", style: Theme.of(context).textTheme.headline2),
onPressed: () => {Navigator.pushNamed(context, SupportScreen().routeName)},
),