flutter disable button color for elevated button code example
Example 1: raised button background color doesn't changeflutter
RaisedButton(
onPressed: null,
child: Text('Get in'), // change it to sign-in
color: Colors.blue,
disabledColor: Colors.blue,//add this to your code
)
Example 2: flutter elevated button
ElevatedButton(
onPressed: () {},
child: Text('Submit'),
);