Radius class

CSS border radius corner dimension.

Constructors

Radius.circular(Object radius)
Creates a circular radius with equal horizontal and vertical dimensions.
const
Radius.elliptical(Object x, Object y)
Creates an elliptical radius with explicit x and y dimensions.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x → Object
Horizontal radius.
final
y → Object
Vertical radius.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCss() → String
Converts this radius to CSS shorthand.
toString() → String
A string representation of this object.
override

Operators

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

Constants

zero → const Radius
Zero radius.