BoustroComponentConfigBuilder class

Builder for BoustroComponentConfigData.

Custom embeds or line modifiers are expected to define extension methods to set any configurable values they require on this type.

Available Extensions

Constructors

BoustroComponentConfigBuilder([Map<String, ThemeProperty>? props])
Create a component theme builder, optionally with a starting map of properties.

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

build() BoustroComponentConfigData
Build the properties that have been set into a BoustroComponentConfigData.
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
operator [](String key) ThemeProperty?
Get the value for key.
operator []=(String key, ThemeProperty? prop) → void
Set the value for key. Will remove the key if prop or its contained value is null.