NeumorphismThemeData.dark constructor

const NeumorphismThemeData.dark({
  1. Color baseColor = NeumorphismColors.darkBackground,
  2. double depth = _defaultDepth,
  3. NeumorphismBoxShape? boxShape,
  4. double intensity = _defaultIntensity,
  5. Color accentColor = _defaultAccent,
  6. TextTheme textTheme = const TextTheme(),
  7. NeumorphismStyle? buttonStyle,
  8. IconThemeData iconTheme = const IconThemeData(),
  9. NeumorphismAppBarThemeData appBarTheme = const NeumorphismAppBarThemeData(),
  10. Color variantColor = NeumorphismColors.darkVariant,
  11. Color disabledColor = NeumorphismColors.darkDisabled,
  12. Color shadowLightColor = NeumorphismColors.decorationMaxWhiteColor,
  13. Color shadowDarkColor = NeumorphismColors.decorationMaxDarkColor,
  14. Color shadowLightColorEmboss = NeumorphismColors.embossMaxWhiteColor,
  15. Color shadowDarkColorEmboss = NeumorphismColors.embossMaxDarkColor,
  16. Color defaultTextColor = NeumorphismColors.darkDefaultTextColor,
  17. LightSource lightSource = _defaultLightSource,
  18. Color borderColor = NeumorphismColors.darkDefaultBorder,
  19. double borderWidth = _defaultBorderSize,
  20. bool disableDepth = false,
})

Implementation

const NeumorphismThemeData.dark({
  this.baseColor = NeumorphismColors.darkBackground,
  double depth = _defaultDepth,
  NeumorphismBoxShape? boxShape,
  double intensity = _defaultIntensity,
  this.accentColor = _defaultAccent,
  this.textTheme = const TextTheme(),
  this.buttonStyle,
  this.iconTheme = const IconThemeData(),
  this.appBarTheme = const NeumorphismAppBarThemeData(),
  this.variantColor = NeumorphismColors.darkVariant,
  this.disabledColor = NeumorphismColors.darkDisabled,
  this.shadowLightColor = NeumorphismColors.decorationMaxWhiteColor,
  this.shadowDarkColor = NeumorphismColors.decorationMaxDarkColor,
  this.shadowLightColorEmboss = NeumorphismColors.embossMaxWhiteColor,
  this.shadowDarkColorEmboss = NeumorphismColors.embossMaxDarkColor,
  this.defaultTextColor = NeumorphismColors.darkDefaultTextColor,
  this.lightSource = _defaultLightSource,
  this.borderColor = NeumorphismColors.darkDefaultBorder,
  this.borderWidth = _defaultBorderSize,
  this.disableDepth = false,
})  : _depth = depth,
      _boxShape = boxShape,
      _intensity = intensity;