initialize static method
void
initialize({})
Initialize Wind configuration with custom settings.
breakpoints
- Screen size breakpoints for responsive design
colors
- Color palette for the theme
spacing
- Spacing scale for margins and padding
borderRadius
- Border radius scale for rounded corners
shadows
- Box shadow definitions
Implementation
static void 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<BoxShadow>> shadows,
}) {
_colors = colors;
_spacing = spacing;
_borderRadius = borderRadius;
_shadows = shadows;
}