EdgeRadius class

Inheritance

Constructors

EdgeRadius.all(double radius)
Do that:
EdgeRadius.bottom(double radius)
Do that:
EdgeRadius.bottomLeft(double amount)
EdgeRadius.bottomRight(double amount)
EdgeRadius.horizontal({double left = 0.0, double right = 0.0})
Do that:
EdgeRadius.left(double left)
Do that:
EdgeRadius.only({double topLeft = 0.0, double topRight = 0.0, double bottomLeft = 0.0, double bottomRight = 0.0})
Do that:
EdgeRadius.right(double right)
Do that:
EdgeRadius.top(double radius)
Do that:
EdgeRadius.topLeft(double amount)
EdgeRadius.topRight(double amount)
EdgeRadius.vertical({double top = 0.0, double bottom = 0.0})
Do that:

Properties

bottomLeft Radius
The bottom-left Radius.
finalinherited
bottomRight Radius
The bottom-right Radius.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topLeft Radius
The top-left Radius.
finalinherited
topRight Radius
The top-right Radius.
finalinherited

Methods

add(BorderRadiusGeometry other) BorderRadiusGeometry
Returns the sum of two BorderRadiusGeometry objects.
inherited
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
toString() String
A string representation of this object.
inherited

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

Constants

zero → const BorderRadius
Do that: