AppBorder class abstract final

Border and divider tokens for the design system.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

all({Color color = const Color(0x1F000000), double width = thin}) → Border
Builds a Border with color, width and optional radius.

Constants

bold → const double
2px emphasis stroke.
heavy → const double
3px strong stroke.
inputBorder → const OutlineInputBorder
Fully rounded outlined border for inputs.
inputError → const OutlineInputBorder
Error outlined border for inputs.
inputFocused → const OutlineInputBorder
Focused outlined border for inputs.
normal → const double
1.5px default stroke.
side → const BorderSide
Default side (neutral grey, 1px).
sideError → const BorderSide
Error side (2px).
sideInfo → const BorderSide
Info side (2px).
sideOutline → const BorderSide
Side for outlined controls (neutral, 1.5px).
sidePrimary → const BorderSide
Primary side (2px).
sideSuccess → const BorderSide
Success side (2px).
sideWarning → const BorderSide
Warning side (2px).
thin → const double
1px hairline stroke.