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
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