Radius class abstract

Represents a corner radius used by BorderRadius.

Create circular radii with Radius.circular or elliptical radii with Radius.elliptical.

Constructors

Radius.circular(Unit radius)
Create a circular radius with the given value.
const
factory
Radius.elliptical(Unit x, Unit y)
Create an elliptical radius with the given x and y values.
const
factory

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

Constants

zero → const Radius
A radius with zero size.