Radius

circular

2.0

)),

),

);

TextButton

style:

flatButtonStyle

onPressed:

()

},

child:

Text

'Looks like a FlatButton'

),

Similarly, to make an ElevatedButton look like a default RaisedButton:

final

ButtonStyle

raisedButtonStyle

ElevatedButton

styleFrom

onPrimary:

Colors

black87

primary:

Colors

grey

300

],

minimumSize:

Size

88