animated property

  1. @JsonKey.new(includeFromJson: false, includeToJson: false)
bool get animated

Whether the connection shows flowing animation.

When true, the connection will display an animated effect. This is automatically true when animationEffect is set, or can be set manually for backward compatibility.

Implementation

@JsonKey(includeFromJson: false, includeToJson: false)
bool get animated => _animationEffect.value != null || _animated.value;
set animated (bool value)

Sets whether the connection shows flowing animation.

Note: Setting animationEffect is the preferred way to enable animations. This setter is kept for backward compatibility.

Implementation

set animated(bool value) => runInAction(() => _animated.value = value);