StyleBuilder class
Builder pattern for creating custom styles.
Provides a fluent API for building style configurations.
Constructors
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
-
background(
Map< String, dynamic> background) → StyleBuilder - Sets the background configuration.
-
buildLiquidGlass(
) → LiquidGlassStyleConfig - Builds a liquid glass style configuration.
-
colors(
Map< String, dynamic> colors) → StyleBuilder - Sets the colors configuration.
-
cornerRadius(
double radius) → StyleBuilder - Sets the corner radius.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
padding(
Map< String, dynamic> padding) → StyleBuilder - Sets the padding configuration.
-
reset(
) → StyleBuilder - Resets the builder to start a new configuration.
-
shadows(
Map< String, dynamic> shadows) → StyleBuilder - Sets the shadows configuration.
-
toString(
) → String -
A string representation of this object.
inherited
-
typography(
Map< String, dynamic> typography) → StyleBuilder - Sets the typography configuration.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited