NeumorphicThemeData.dark constructor
const
NeumorphicThemeData.dark({
- Color baseColor = NeumorphicColors.darkBackground,
- double depth = _defaultDepth,
- NeumorphicBoxShape? boxShape,
- double intensity = _defaultIntensity,
- Color accentColor = _defaultAccent,
- TextTheme textTheme = const TextTheme(),
- NeumorphicStyle? buttonStyle,
- IconThemeData iconTheme = const IconThemeData(),
- NeumorphicAppBarThemeData appBarTheme = const NeumorphicAppBarThemeData(),
- Color variantColor = NeumorphicColors.darkVariant,
- Color disabledColor = NeumorphicColors.darkDisabled,
- Color shadowLightColor = NeumorphicColors.decorationMaxWhiteColor,
- Color shadowDarkColor = NeumorphicColors.decorationMaxDarkColor,
- Color shadowLightColorEmboss = NeumorphicColors.embossMaxWhiteColor,
- Color shadowDarkColorEmboss = NeumorphicColors.embossMaxDarkColor,
- Color defaultTextColor = NeumorphicColors.darkDefaultTextColor,
- LightSource lightSource = _defaultLightSource,
- Color borderColor = NeumorphicColors.darkDefaultBorder,
- double borderWidth = _defaultBorderSize,
- bool disableDepth = false,
Implementation
const NeumorphicThemeData.dark({
this.baseColor = NeumorphicColors.darkBackground,
double depth = _defaultDepth,
NeumorphicBoxShape? boxShape,
double intensity = _defaultIntensity,
this.accentColor = _defaultAccent,
this.textTheme = const TextTheme(),
this.buttonStyle,
this.iconTheme = const IconThemeData(),
this.appBarTheme = const NeumorphicAppBarThemeData(),
this.variantColor = NeumorphicColors.darkVariant,
this.disabledColor = NeumorphicColors.darkDisabled,
this.shadowLightColor = NeumorphicColors.decorationMaxWhiteColor,
this.shadowDarkColor = NeumorphicColors.decorationMaxDarkColor,
this.shadowLightColorEmboss = NeumorphicColors.embossMaxWhiteColor,
this.shadowDarkColorEmboss = NeumorphicColors.embossMaxDarkColor,
this.defaultTextColor = NeumorphicColors.darkDefaultTextColor,
this.lightSource = _defaultLightSource,
this.borderColor = NeumorphicColors.darkDefaultBorder,
this.borderWidth = _defaultBorderSize,
this.disableDepth = false,
}) : this._depth = depth,
this._boxShape = boxShape,
this._intensity = intensity;