PressableTheme.opacity constructor
const
PressableTheme.opacity({})
Customize PressableOpacity animations.
Implementation
const factory PressableTheme.opacity({
@Default(Duration(milliseconds: 100)) Duration duration,
@Default(0.6) double opacityFactor,
@Default(Curves.easeInOut) Curve curve,
@Default(Curves.easeInOut) Curve reverseCurve,
}) = PressableOpacityTheme;