transitionTimeout property

  1. @override
Duration? get transitionTimeout
override

The amount of time to wait for a CSS transition to complete before assuming something went wrong and canceling the subscription.

If the CSS transition duration on the node is longer than 1s, you will need to set this to a Duration that is greater than or equal to the expected CSS duration of the node.

Default const Duration(seconds: 1)

Implementation

@override
Duration? get transitionTimeout =>
    (props[_$key__transitionTimeout__WithTransitionPropsMixin] ?? null)
        as Duration?;
  1. @override
set transitionTimeout (Duration? value)
override

The amount of time to wait for a CSS transition to complete before assuming something went wrong and canceling the subscription.

If the CSS transition duration on the node is longer than 1s, you will need to set this to a Duration that is greater than or equal to the expected CSS duration of the node.

Default const Duration(seconds: 1)

Implementation

@override
set transitionTimeout(Duration? value) =>
    props[_$key__transitionTimeout__WithTransitionPropsMixin] = value;