CssBorder class Null safety

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. [...]
read-only, inherited
inherit bool
final
isNoOp bool
Returns true if all sides are unset, all radius are zero.
read-only
radiusBottomLeft CssRadius
final
radiusBottomRight CssRadius
final
radiusTopLeft CssRadius
final
radiusTopRight CssRadius
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copyFrom(CssBorder other) CssBorder
Creates a copy of this border with the sides from other.
copyWith({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(TextStyleHtml tsh) Border?
Calculates Border.
getBorderRadius(TextStyleHtml tsh) BorderRadius?
Calculates BorderRadius.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited