FluentBorderRadius class
Fluent BorderRadius class that extends BorderRadius and supports chaining
- Inheritance
-
- Object
- BorderRadiusGeometry
- BorderRadius
- FluentBorderRadius
- Available extensions
Properties
- bLeftRad → FluentBorderRadius
-
no setter
- bLeftRad → BorderRadius
-
Available on BorderRadius, provided by the BorderRadiusChaining extension
no setter - bottomLeft → Radius
-
The bottom-left Radius.
finalinherited
- bottomRight → Radius
-
The bottom-right Radius.
finalinherited
- bRightRad → FluentBorderRadius
-
no setter
- bRightRad → BorderRadius
-
Available on BorderRadius, provided by the BorderRadiusChaining extension
no setter - geometry → BorderRadiusGeometry
-
Available on BorderRadius, provided by the BorderRadiusChaining extension
Allows implicit conversion to BorderRadiusGeometryno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tLeftRad → FluentBorderRadius
-
Chainable getters that use next value from tuple
no setter
- tLeftRad → BorderRadius
-
Available on BorderRadius, provided by the BorderRadiusChaining extension
Chainable radius extensions that use the first non-zero radius value as baseno setter - topLeft → Radius
-
The top-left Radius.
finalinherited
- topRight → Radius
-
The top-right Radius.
finalinherited
- tRightRad → FluentBorderRadius
-
no setter
- tRightRad → BorderRadius
-
Available on BorderRadius, provided by the BorderRadiusChaining extension
no setter
Methods
-
add(
BorderRadiusGeometry other) → BorderRadiusGeometry -
Returns the sum of two BorderRadiusGeometry objects.
inherited
-
addToBottomLeft(
double value) → BorderRadius -
Available on BorderRadius, provided by the BorderRadiusChaining extension
Adds the specified value to the existing bottomLeft radius -
addToBottomRight(
double value) → BorderRadius -
Available on BorderRadius, provided by the BorderRadiusChaining extension
Adds the specified value to the existing bottomRight radius -
addToTopLeft(
double value) → BorderRadius -
Available on BorderRadius, provided by the BorderRadiusChaining extension
Adds the specified value to the existing topLeft radius -
addToTopRight(
double value) → BorderRadius -
Available on BorderRadius, provided by the BorderRadiusChaining extension
Adds the specified value to the existing topRight radius -
copyWith(
{Radius? topLeft, Radius? topRight, Radius? bottomLeft, Radius? bottomRight}) → BorderRadius -
Returns a copy of this BorderRadius with the given fields replaced with
the new values.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
TextDirection? direction) → BorderRadius -
Convert this instance into a BorderRadius, so that the radii are
expressed for specific physical corners (top-left, top-right, etc) rather
than in a direction-dependent manner.
inherited
-
subtract(
BorderRadiusGeometry other) → BorderRadiusGeometry -
Returns the difference between two BorderRadiusGeometry objects.
inherited
-
toRRect(
Rect rect) → RRect -
Creates an RRect from the current border radius and a Rect.
inherited
-
toRSuperellipse(
Rect rect) → RSuperellipse -
Creates an RSuperellipse from the current border radius and a Rect.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
tweenTo(
BorderRadius end) → BorderRadiusTween -
Available on BorderRadius, provided by the BorderRadiusX extension
Create an BorderRadiusTween form this value to the provided end value -
withBottomLeft(
double value) → BorderRadius -
Available on BorderRadius, provided by the BorderRadiusChaining extension
Creates new BorderRadius with specified bottomLeft radius -
withBottomRight(
double value) → BorderRadius -
Available on BorderRadius, provided by the BorderRadiusChaining extension
Creates new BorderRadius with specified bottomRight radius -
withTopLeft(
double value) → BorderRadius -
Available on BorderRadius, provided by the BorderRadiusChaining extension
Creates new BorderRadius with specified topLeft radius -
withTopRight(
double value) → BorderRadius -
Available on BorderRadius, provided by the BorderRadiusChaining extension
Creates new BorderRadius with specified topRight radius
Operators
-
operator %(
double other) → BorderRadius -
Computes the remainder of each corner by the given factor.
inherited
-
operator *(
double other) → BorderRadius -
Scales each corner of the BorderRadius by the given factor.
inherited
-
operator +(
BorderRadius other) → BorderRadius -
Returns the sum of two BorderRadius objects.
inherited
-
operator -(
BorderRadius other) → BorderRadius -
Returns the difference between two BorderRadius objects.
inherited
-
operator /(
double other) → BorderRadius -
Divides each corner of the BorderRadius by the given factor.
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator unary-(
) → BorderRadius -
Returns the BorderRadius object with each corner negated.
inherited
-
operator ~/(
double other) → BorderRadius -
Integer divides each corner of the BorderRadius by the given factor.
inherited