EmergentStyle class

Constructors

EmergentStyle({EmergentShape shape = _defaultShape, LightSource lightSource = LightSource.topLeft, EmergentBorder border = const EmergentBorder.none(), Color? color, EmergentBoxShape? boxShape, Color? shadowLightColor, Color? shadowDarkColor, Color? shadowLightColorHc, Color? shadowDarkColorHc, double? depth, double? intensity, double surfaceIntensity = 0.25, bool? disableDepth, bool oppositeShadowLightSource = false})
const

Properties

border EmergentBorder
final
boxShape EmergentBoxShape?
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
shadowDarkColorHc Color?
final
shadowLightColor Color?
final
shadowLightColorHc Color?
final
shape EmergentShape
final
surfaceIntensity double
no setter
theme EmergentThemeData?
final

Methods

applyDisableDepth() EmergentStyle
copyWith({Color? color, EmergentBorder? border, EmergentBoxShape? boxShape, Color? shadowLightColor, Color? shadowDarkColor, Color? shadowLightColorHc, Color? shadowDarkColorHc, double? depth, double? intensity, double? surfaceIntensity, LightSource? lightSource, bool? disableDepth, double? borderRadius, bool? oppositeShadowLightSource, EmergentShape? shape}) EmergentStyle
copyWithThemeIfNull(EmergentThemeData theme) EmergentStyle
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