TranslationConfiguration class

Constructors

TranslationConfiguration({Offset maxOffset = const Offset(maxDistance, maxDistance)})
A set of values that define the translation effect's behavior.
const
TranslationConfiguration.fromElevation(int elevation)
A constructor that creates a TranslationConfiguration from an elevation.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
maxOffset Offset
The maximum X and Y distances by which the widget may move when rotating.
final
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