AnyBoxBorder class

Rectangular border with independent side and corner overrides.

Inheritance

Constructors

AnyBoxBorder({double? ratio, AnyBoxShape shape = AnyBoxShape.rectangle, AnyCorner? corners, AnyCorner? outerCorners, AnyCorner? innerCorners, AnySide? sides, double offset = 0.0, AnySide? left, AnySide? top, AnySide? right, AnySide? bottom, AnySide? horizontal, AnySide? vertical, AnyCorner? topLeft, AnyCorner? topRight, AnyCorner? bottomRight, AnyCorner? bottomLeft, AnyCorner? outerTopLeft, AnyCorner? outerTopRight, AnyCorner? outerBottomRight, AnyCorner? outerBottomLeft, AnyCorner? innerTopLeft, AnyCorner? innerTopRight, AnyCorner? innerBottomRight, AnyCorner? innerBottomLeft})
const

Properties

bottom → AnySide?
Side used for the bottom edge.
final
bottomLeft → AnyCorner?
Shape corner used at the bottom-left point.
final
bottomRight → AnyCorner?
Shape corner used at the bottom-right point.
final
corners → AnyCorner
Default source-shape corner used by AnyDecoration.point.
finalinherited
hashCode → int
The hash code for this object.
no setteroverride
horizontal → AnySide?
Fallback side used by the top and bottom edges.
final
innerBottomLeft → AnyCorner?
Inner corner used at the bottom-left point.
final
innerBottomRight → AnyCorner?
Inner corner used at the bottom-right point.
final
innerCorners → AnyCorner?
Default explicit inner corner; null derives it from the shape.
finalinherited
innerTopLeft → AnyCorner?
Inner corner used at the top-left point.
final
innerTopRight → AnyCorner?
Inner corner used at the top-right point.
final
left → AnySide?
Side used for the left edge.
final
offset → double
Path displacement in logical units, added to AnyDecoration.offset. Negative values inset; positive values outset. Must be finite.
finalinherited
outerBottomLeft → AnyCorner?
final
outerBottomRight → AnyCorner?
final
outerCorners → AnyCorner?
Default explicit outer corner; null derives it from the shape.
finalinherited
outerTopLeft → AnyCorner?
Explicit outer corner overrides; null derives them from the shape.
final
outerTopRight → AnyCorner?
final
ratio → double?
Optional width / height ratio used to fit the contour inside the paint size.
finalinherited
resolvedSides → List<AnySide>
Whole-side fallbacks in top, right, bottom, left construction order.
no setteroverride
Side used for the right edge.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sides → AnySide
Default side used by AnyDecoration.point.
finalinherited
top → AnySide?
Side used for the top edge.
final
topLeft → AnyCorner?
Shape corner used at the top-left point.
final
topRight → AnyCorner?
Shape corner used at the top-right point.
final
vertical → AnySide?
Fallback side used by the left and right edges.
final

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.
override