AnyBoxBorder class
Rectangular border with independent side and corner overrides.
Constructors
- AnyBoxBorder({double? ratio, AnyBoxShape shape = AnyBoxShape.rectangle, AnyCorner? corners, AnyCorner? outerCorners, AnyCorner? innerCorners, AnySide? sides, double offset = 0.0, AnyBoxBorderProfiles profiles = const AnyBoxBorderProfiles(), 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
-
Construction-bounds adjustment before ratio fitting, added to
AnyDecoration.offset, in logical units.
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
- profiles → AnyBoxBorderProfiles
-
Geometry profiles applied to the fitted edges by AnyBoxDecoration.
final
- ratio → double?
-
Optional width / height ratio fitted inside offset-adjusted bounds.
Null/nonpositive values use all available bounds.
finalinherited
-
resolvedSides
→ List<
AnySide> -
Whole-side fallbacks in top, right, bottom, left construction order.
no setteroverride
- right → AnySide?
-
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