Is there a way to completely remove the drop shadow under the RaisedButton? I've set
elevation: 0 to that very RaisedButton but the drop shadow still appears when tapping it.
This should be the solution. It will remove the elevation and the shadows.
2
votes
Since the RaisedButton is deprecated and ElevatedButton should be used insted, the solution for this problem is also simple.
elevation: MaterialStateProperty.all<double>(0)
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more