Wind class
Wind UI library configuration class.
This class provides centralized configuration for the Wind UI library, including colors, spacing, border radius, and shadows.
Constructors
- Wind.new()
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
-
getBorderRadius(
String name) → double? -
getColor(
String name) → Color? - Get a color by name from the configured color palette.
-
getShadow(
String name) → List< BoxShadow> ? -
getSpacing(
String name) → double? -
initialize(
{required Map< String, int> breakpoints, required Map<String, Color> colors, required Map<String, double> spacing, required Map<String, double> borderRadius, required Map<String, List< shadows}) → voidBoxShadow> > - Initialize Wind configuration with custom settings.