GEase class abstract

A collection of predefined easing functions that can be used with GTween.

Each function represents a different easing curve, from smooth to bouncy, and can be used to create animations with different visual effects. The functions are defined as static members of the GEase class and can be accessed directly. Uses internally Flutter's Curves.

Constructors

GEase()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

bounceIn EaseFunction
A bouncing easing function that starts with a small bounce before gradually increasing the amplitude of the bounces, before coming to rest.
getter/setter pair
bounceInOut EaseFunction
A bouncing easing function that combines the properties of bounceIn and bounceOut, starting with a small bounce, gradually increasing the amplitude of the bounces, and then coming to rest.
getter/setter pair
bounceOut EaseFunction
A bouncing easing function that starts quickly and then bounces back and forth towards the final value before coming to rest.
getter/setter pair
decelerate EaseFunction
An easing function that starts with a fast acceleration and then decelerates towards the final value with a sine curve.
getter/setter pair
defaultEasing EaseFunction
The default easing function, used when no other function is specified.
getter/setter pair
ease EaseFunction
The default easing function from Flutter's Curves class, used when no other function is specified. An easing function that starts and ends slowly but speeds up in the middle. This is a good choice for animations that should feel natural and organic, with an acceleration in the middle of the animation.
getter/setter pair
easeIn EaseFunction
An easing function that starts slowly but speeds up towards the end. This is a good choice for animations that should build up momentum gradually, such as animations of objects accelerating or scaling up over time.
getter/setter pair
easeInBack EaseFunction
An easing function that starts with a slight overshoot before returning to the final value, with a slower acceleration than easeOutBack.
getter/setter pair
easeInCirc EaseFunction
EaseFunction with an input curve that starts slowly and speeds up towards the end. It's useful for simulating an object that gradually gains speed, like a pendulum swing.
getter/setter pair
easeInCubic EaseFunction
An easing function that starts with a slow acceleration and then accelerates towards the final value with a cubic curve.
getter/setter pair
easeInExpo EaseFunction
The EaseFunction with an input curve that starts slowly and speeds up towards the end. It's useful for simulating an object that gradually gains speed, but in a more exaggerated way than
getter/setter pair
easeInOut EaseFunction
An easing function that starts and ends slowly but speeds up in the middle, and also slows down towards the end.
getter/setter pair
easeInOutBack EaseFunction
An easing function that combines the properties of easeInBack and easeOutBack, starting with a slight overshoot, building up momentum gradually, and then returning to the final value with a faster deceleration than easeInBack.
getter/setter pair
easeInOutCirc EaseFunction
The EaseFunction with an input curve that starts slowly, speeds up in the middle, and slows down towards the end. It's useful for simulating a motion that gradually speeds up, reaches its maximum velocity in the middle, and then slows down again.
getter/setter pair
easeInOutCubic EaseFunction
An easing function that combines the properties of easeInCubic and easeOutCubic, starting with a slow acceleration, building up momentum with a cubic curve, and then decelerating towards the final value with a cubic curve.
getter/setter pair
easeInOutExpo EaseFunction
The EaseFunction with an input curve that starts slowly, speeds up in the middle, and slows down towards the end, but in a more exaggerated way than easeInOutCirc. It's useful for simulating a motion that gradually speeds up, reaches its maximum velocity in the middle, and then slows down again, but with a more dramatic effect.
getter/setter pair
easeInOutQuad EaseFunction
An easing function that combines the properties of easeInQuad and easeOutQuad, starting with a slow acceleration, building up momentum with a quadratic curve, and then decelerating towards the final value with a quadratic curve.
getter/setter pair
easeInOutQuart EaseFunction
An easing function that combines the properties of easeInQuart and easeOutQuart, starting with a slow acceleration, building up momentum with a quartic curve, and then decelerating towards the final value with a quartic curve.
getter/setter pair
easeInOutQuint EaseFunction
An easing function that combines the properties of easeInQuint and easeOutQuint, starting with a slow acceleration, building up momentum with a quintic curve, and then decelerating towards the final value with a quintic curve.
getter/setter pair
easeInOutSine EaseFunction
An easing function that combines the properties of easeInSine and easeOutSine, starting with a slow acceleration, building up momentum with a sinusoidal curve, and then decelerating towards the final value with a sinusoidal curve.
getter/setter pair
easeInQuad EaseFunction
An easing function that starts with a slow acceleration and then accelerates towards the final value with a quadratic curve.
getter/setter pair
easeInQuart EaseFunction
An easing function that starts with a slow acceleration and then accelerates towards the final value with a quartic curve.
getter/setter pair
easeInQuint EaseFunction
An easing function that starts with a slow acceleration and then accelerates towards the final value with a quintic curve.
getter/setter pair
easeInSine EaseFunction
An easing function that starts with a slow acceleration and then accelerates towards the final value with a sinusoidal curve.
getter/setter pair
easeInToLinear EaseFunction
An easing function that starts with a slow acceleration and then accelerates towards the final value with a linear curve.
getter/setter pair
easeOut EaseFunction
An easing function that starts quickly but slows down towards the end. This is a good choice for animations that should start with a burst of energy and then gradually slow down, such as animations of objects coming to rest or fading away.
getter/setter pair
easeOutBack EaseFunction
An easing function that starts with a slight overshoot before returning to the final value, with a faster deceleration than easeInBack.
getter/setter pair
easeOutCirc EaseFunction
EaseFunction with an output curve that starts quickly and slows down towards the end. It's useful for simulating a circular motion or a motion that starts and ends quickly.
getter/setter pair
easeOutCubic EaseFunction
An easing function that starts with a quick acceleration and then decelerates towards the final value with a cubic curve.
getter/setter pair
easeOutExpo EaseFunction
The EaseFunction with an output curve that starts quickly and slows down towards the end, but in a more exaggerated way than easeOutCirc. It's useful for simulating a motion that needs to appear more dramatic, like an object that is accelerating faster than normal.
getter/setter pair
easeOutQuad EaseFunction
An easing function that starts with a quick acceleration and then decelerates towards the final value with a quadratic curve.
getter/setter pair
easeOutQuart EaseFunction
An easing function that starts with a quick acceleration and then decelerates towards the final value with a quartic curve.
getter/setter pair
easeOutQuint EaseFunction
An easing function that starts with a quick acceleration and then decelerates towards the final value with a quintic curve.
getter/setter pair
easeOutSine EaseFunction
An easing function that starts with a quick acceleration and then decelerates towards the final value with a sinusoidal curve.
getter/setter pair
elasticIn EaseFunction
An elastic easing function that starts slowly and then accelerates, before overshooting the target and then oscillating back to the final value.
getter/setter pair
elasticInOut EaseFunction
An elastic easing function that combines the properties of elasticIn and elasticOut, starting with a slow acceleration, overshooting the target, and then oscillating back to the final value with a faster deceleration.
getter/setter pair
elasticOut EaseFunction
An elastic easing function that overshoots the target and then oscillates back to the final value, but with a faster deceleration than elasticIn.
getter/setter pair
fastLinearToSlowEaseIn EaseFunction
An easing function that starts with a fast acceleration and then decelerates towards the final value with an ease-in curve.
getter/setter pair
fastOutSlowIn EaseFunction
An easing function that starts with a quick acceleration, slows down in the middle, and then accelerates again towards the final value with an ease-in curve.
getter/setter pair
linear EaseFunction
An easing function that applies a linear rate of change, resulting in a constant speed throughout the entire animation.
getter/setter pair
linearToEaseOut EaseFunction
An easing function that starts with a linear rate of change and then decelerates towards the final value with an ease-out curve.
getter/setter pair
slowMiddle EaseFunction
An easing function that starts with a slow acceleration, builds up momentum in the middle with a linear curve, and then decelerates towards the final value with an ease-out curve.
getter/setter pair