NeumorphismStyle class

Constructors

NeumorphismStyle({NeumorphismShape shape = _defaultShape, LightSource lightSource = LightSource.topLeft, NeumorphismBorder border = const NeumorphismBorder.none(), Color? color, NeumorphismBoxShape? boxShape, Color? shadowLightColor, Color? shadowDarkColor, Color? shadowLightColorEmboss, Color? shadowDarkColorEmboss, double? depth, double? intensity, double surfaceIntensity = 0.25, bool? disableDepth, bool oppositeShadowLightSource = false})
const

Properties

border NeumorphismBorder
final
boxShape NeumorphismBoxShape?
final
color Color?
final
depth double?
no setter
disableDepth bool?
final
hashCode int
The hash code for this object.
no setteroverride
intensity double?
no setter
lightSource LightSource
final
oppositeShadowLightSource bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowDarkColor Color?
final
shadowDarkColorEmboss Color?
final
shadowLightColor Color?
final
shadowLightColorEmboss Color?
final
shape NeumorphismShape
final
surfaceIntensity double
no setter
theme NeumorphismThemeData?
final

Methods

applyDisableDepth() NeumorphismStyle
copyWith({Color? color, NeumorphismBorder? border, NeumorphismBoxShape? boxShape, Color? shadowLightColor, Color? shadowDarkColor, Color? shadowLightColorEmboss, Color? shadowDarkColorEmboss, double? depth, double? intensity, double? surfaceIntensity, LightSource? lightSource, bool? disableDepth, double? borderRadius, bool? oppositeShadowLightSource, NeumorphismShape? shape}) NeumorphismStyle
copyWithThemeIfNull(NeumorphismThemeData theme) NeumorphismStyle
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override