NeumorphismThemeData.dark constructor
const
NeumorphismThemeData.dark({
- Color baseColor = NeumorphismColors.darkBackground,
- double depth = _defaultDepth,
- NeumorphismBoxShape? boxShape,
- double intensity = _defaultIntensity,
- Color accentColor = _defaultAccent,
- TextTheme textTheme = const TextTheme(),
- NeumorphismStyle? buttonStyle,
- IconThemeData iconTheme = const IconThemeData(),
- NeumorphismAppBarThemeData appBarTheme = const NeumorphismAppBarThemeData(),
- Color variantColor = NeumorphismColors.darkVariant,
- Color disabledColor = NeumorphismColors.darkDisabled,
- Color shadowLightColor = NeumorphismColors.decorationMaxWhiteColor,
- Color shadowDarkColor = NeumorphismColors.decorationMaxDarkColor,
- Color shadowLightColorEmboss = NeumorphismColors.embossMaxWhiteColor,
- Color shadowDarkColorEmboss = NeumorphismColors.embossMaxDarkColor,
- Color defaultTextColor = NeumorphismColors.darkDefaultTextColor,
- LightSource lightSource = _defaultLightSource,
- Color borderColor = NeumorphismColors.darkDefaultBorder,
- double borderWidth = _defaultBorderSize,
- 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;