NativeBaseTheme constructor
NativeBaseTheme({
- NBFontSizes? fontSize,
- NBLetterSpacings? letterSpacing,
- NBFontWeights? fontWeight,
- NBLineHeights? lineHeight,
- NBComponent? component,
- NBSpaces? spaces,
- NBSizes? sizes,
- NBBorders? borders,
- NBRadius? radiuses,
- NativeBaseColor? colors,
- NBShadows? shadows,
Implementation
NativeBaseTheme({
NBFontSizes? fontSize,
NBLetterSpacings? letterSpacing,
NBFontWeights? fontWeight,
NBLineHeights? lineHeight,
NBComponent? component,
NBSpaces? spaces,
NBSizes? sizes,
NBBorders? borders,
NBRadius? radiuses,
NativeBaseColor? colors,
NBShadows? shadows,
}) : fontSize = fontSize ?? nbFontSizes,
letterSpacing = letterSpacing ?? baseLetterSpacings,
fontWeight = fontWeight ?? baseNBFontWeights,
lineHeight = lineHeight ?? baseLineHeights,
component = component ?? baseComponents,
spaces = spaces ?? nbBaseSpaces,
sizes = sizes ?? nbBaseSizes,
borders = borders ?? nbBorders,
radiuses = radiuses ?? nbRadius,
color = colors ?? nbColor,
shadows = shadows ?? nbShadow;