Fix elevated button
This commit is contained in:
parent
a3e185b5a5
commit
b10eab54e4
@ -173,9 +173,13 @@ class _MyAppState extends State<MyApp> {
|
|||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: RaisedButton(
|
child: ElevatedButton(
|
||||||
color: Theme.of(context).accentColor,
|
style: ButtonStyle(
|
||||||
padding: EdgeInsets.symmetric(vertical: 16),
|
backgroundColor: MaterialStateProperty.resolveWith(
|
||||||
|
(states) => Theme.of(context).accentColor),
|
||||||
|
padding: MaterialStateProperty.resolveWith(
|
||||||
|
(states) => EdgeInsets.symmetric(vertical: 16)),
|
||||||
|
),
|
||||||
child: Text("SEND",
|
child: Text("SEND",
|
||||||
style: Theme.of(context).accentTextTheme.button),
|
style: Theme.of(context).accentTextTheme.button),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
Loading…
Reference in New Issue
Block a user