OudsDividerColor enum
TODO Add DSM link when available
An OUDS Divider
component as per the design guidelines of OUDS.
Dividers are used to visually structure an interface by clearly separating content sections. It helps to improve readability and content organization without introducing a strong hierarchy like a heading or a container would.
You can choose the orientation by using one of the named constructors:
The following parameters are available:
color
The color of the divider, chosen from the OudsDividerColor enum. Default value set to OudsDividerColor.defaultColor.length
The length of the divider (width for horizontal, height for vertical). Defaults to double.infinity.thickness
The thickness of the divider (height for horizontal, width for vertical). Defaults to1.0
.margin
Optional margin around the divider, for spacing from surrounding content.
Represents the available colors for OudsDivider.
Values
- defaultColor → const OudsDividerColor
- muted → const OudsDividerColor
- emphasized → const OudsDividerColor
- brandPrimary → const OudsDividerColor
- onBrandPrimary → const OudsDividerColor
- alwaysBlack → const OudsDividerColor
- alwaysOnBlack → const OudsDividerColor
- alwaysWhite → const OudsDividerColor
- alwaysOnWhite → const OudsDividerColor
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getColor(
BuildContext context) → Color -
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
Constants
-
values
→ const List<
OudsDividerColor> - A constant List of the values in this enum, in order of their declaration.