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.

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.

Setting animationEffect is the preferred way to enable animations as it provides more control over the effect.

Implementation

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