pressedOpacity property

  1. @Deprecated("'PushButton' animations now match their native macOS’ " "counterparts. Therefore, its opacity no longer changes when it is " "pressed.")
double? pressedOpacity
final

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.

Implementation

@Deprecated("'PushButton' animations now match their native macOS’ "
    "counterparts. Therefore, its opacity no longer changes when it is "
    "pressed.")
final double? pressedOpacity;