CssBorder class

A border of a box.

Annotations

Constructors

CssBorder({bool inherit = false, CssBorderSide? all, CssBorderSide? bottom, CssBorderSide? inlineEnd, CssBorderSide? inlineStart, CssBorderSide? left, CssBorderSide? right, CssBorderSide? top, CssRadius radiusBottomLeft = CssRadius.zero, CssRadius radiusBottomRight = CssRadius.zero, CssRadius radiusTopLeft = CssRadius.zero, CssRadius radiusTopRight = CssRadius.zero})
Creates a border.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
inherit bool
final
isNoOp bool
Returns true if all sides are unset, all radius are zero.
no setter
radiusBottomLeft CssRadius
final
radiusBottomRight CssRadius
final
radiusTopLeft CssRadius
final
radiusTopRight CssRadius
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyFrom(CssBorder other) CssBorder
Creates a copy of this border with the sides from other.
copyWith({CssBorderSide? all, CssBorderSide? bottom, CssBorderSide? inlineEnd, CssBorderSide? inlineStart, CssBorderSide? left, CssBorderSide? right, CssBorderSide? top, CssRadius? radiusBottomLeft, CssRadius? radiusBottomRight, CssRadius? radiusTopLeft, CssRadius? radiusTopRight}) CssBorder
Creates a copy of this border but with the given fields replaced with the new values.
getBorder(InheritedProperties resolved) Border?
Calculates Border.
getBorderRadius(InheritedProperties resolved) BorderRadius?
Calculates BorderRadius.
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