easing property

EasingFunction get easing

Gets or sets the easing function this Animation will use to modify default properties.

Pre-defined animatable values are processed by passing scalars into this easing function.

The default value is Animation.EaseInOutQuad.

The value can be an arbitrary easing function, or one of the six provided: Animation.EaseLinear, Animation.EaseInOutQuad, Animation.EaseInQuad, Animation.EaseOutQuad, Animation.EaseInExpo, Animation.EaseOutExpo.

Implementation

_i3.EasingFunction get easing => (
      _i2.num p0,
      _i2.num p1,
      _i2.num p2,
      _i2.num p3,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'easing',
          ),
          r'call',
          [
            this,
            p0,
            p1,
            p2,
            p3,
          ],
        );
set easing (EasingFunction value)

Implementation

set easing(_i3.EasingFunction value) {
  _i4.setProperty(
    this,
    'easing',
    _i4.allowInterop(value),
  );
}