raised button design flutter code example
Example 1: flutter raisedbutton example
RaisedButton(child: Text("Rock & Roll"),
onPressed: _changeText,
color: Colors.red,
textColor: Colors.yellow,
padding: EdgeInsets.fromLTRB(10, 10, 10, 10),
splashColor: Colors.grey,
)
Example 2: flutter elevated button
ElevatedButton(
onPressed: () {},
child: Text('Submit'),
);