SmoothRadius class

Inheritance

Constructors

SmoothRadius({required double cornerRadius, required double cornerSmoothing})
const

Properties

cornerRadius double
no setter
cornerSmoothing double
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
The radius value on the horizontal axis.
finalinherited
y double
The radius value on the vertical axis.
finalinherited

Methods

clamp({Radius? minimum, Radius? maximum}) Radius
Returns this Radius, with values clamped to the given min and max Radius values.
inherited
clampValues({double? minimumX, double? minimumY, double? maximumX, double? maximumY}) Radius
Returns this Radius, with values clamped to the given min and max values in each dimension
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator %(double operand) SmoothRadius
Modulo (remainder) operator.
override
operator *(double operand) SmoothRadius
Multiplication operator.
override
operator +(Radius other) Radius
Binary addition operator.
override
operator -(Radius other) Radius
Binary subtraction operator.
override
operator /(double operand) SmoothRadius
Division operator.
override
operator ==(Object other) bool
The equality operator.
override
operator unary-() Radius
Unary negation operator.
override
operator ~/(double operand) SmoothRadius
Integer (truncating) division operator.
override

Static Methods

lerp(SmoothRadius? a, SmoothRadius? b, double t) SmoothRadius?
Linearly interpolate between two smooth radii.
override

Constants

zero → const SmoothRadius