NeumorphicThemeData.dark constructor

const NeumorphicThemeData.dark({
  1. Color baseColor = NeumorphicColors.darkBackground,
  2. double depth = _defaultDepth,
  3. NeumorphicBoxShape? boxShape,
  4. double intensity = _defaultIntensity,
  5. Color accentColor = _defaultAccent,
  6. TextTheme textTheme = const TextTheme(),
  7. NeumorphicStyle? buttonStyle,
  8. IconThemeData iconTheme = const IconThemeData(),
  9. NeumorphicAppBarThemeData appBarTheme = const NeumorphicAppBarThemeData(),
  10. Color variantColor = NeumorphicColors.darkVariant,
  11. Color disabledColor = NeumorphicColors.darkDisabled,
  12. Color shadowLightColor = NeumorphicColors.decorationMaxWhiteColor,
  13. Color shadowDarkColor = NeumorphicColors.decorationMaxDarkColor,
  14. Color shadowLightColorEmboss = NeumorphicColors.embossMaxWhiteColor,
  15. Color shadowDarkColorEmboss = NeumorphicColors.embossMaxDarkColor,
  16. Color defaultTextColor = NeumorphicColors.darkDefaultTextColor,
  17. LightSource lightSource = _defaultLightSource,
  18. Color borderColor = NeumorphicColors.darkDefaultBorder,
  19. double borderWidth = _defaultBorderSize,
  20. 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;