pressedOpacity property
The opacity that the button will fade to when it is pressed. The button will have an opacity of 1.0 when it is not pressed.
This defaults to 0.4. If null, opacity will not change on pressed if using your own custom effects is desired. 0 关闭
Implementation
final double? pressedOpacity;