BorderRadius class abstract
Represents the CSS border-radius property.
Rounds the corners of an element's outer border edge.
Read more: MDN border-radius
Constructors
- BorderRadius.all(Radius radius)
-
Create a border radius with the given radius for all corners.
constfactory
- BorderRadius.circular(Unit radius)
-
Create a border radius with a circular radius of the given value for all corners.
constfactory
- BorderRadius.horizontal({Radius? left, Radius? right})
-
Create a border radius with left and right corners.
constfactory
- BorderRadius.only({Radius? topLeft, Radius? topRight, Radius? bottomLeft, Radius? bottomRight})
-
Create a border radius with individual corners.
constfactory
- BorderRadius.vertical({Radius? top, Radius? bottom})
-
Create a border radius with top and bottom corners.
constfactory
Properties
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