CubicBezier class
A cubic bezier curve that defines the easing.
- Available extensions
- Annotations
-
- @JsonSerializable.new()
- @CopyWith.new()
- @immutable
Constructors
- CubicBezier({required num x1, required num y1, required num x2, required num y2})
-
const
-
CubicBezier.fromJson(Map<
String, Object?> json) -
factory
Properties
- copyWith → _$CubicBezierCWProxy
-
Available on CubicBezier, provided by the $CubicBezierCopyWith extension
Returns a callable class used to build a new instance with modified fields. Example:instanceOfCubicBezier.copyWith(...)orinstanceOfCubicBezier.copyWith.fieldName(...).no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited - x1 → num
-
The x component of the first control point.
final
- x2 → num
-
The x component of the second control point.
final
- y1 → num
-
The y component of the first control point.
final
- y2 → num
-
The y component of the second control point.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited