disableTransition property

bool disableTransition
final

Whether to disable visual state transition animations.

When true, the button immediately snaps between visual states instead of smoothly animating. Useful for performance optimization in lists or when animations would be distracting.

Implementation

final bool disableTransition;