MaterialButton({Key key, Brightness colorBrightness, ButtonTextTheme textTheme, Color textColor, Color color, int elevation, int highlightElevation, double minWidth, double height, EdgeInsets padding, @required VoidCallback onPressed, Widget child })

Creates a material button.

Rather than creating a material button directly, consider using FlatButton or RaisedButton.

Source

MaterialButton({
  Key key,
  this.colorBrightness,
  this.textTheme,
  this.textColor,
  this.color,
  this.elevation,
  this.highlightElevation,
  this.minWidth,
  this.height,
  this.padding,
  @required this.onPressed,
  this.child
}) : super(key: key);