Config class

Creates a new Config instance that can be shared across multiple Shadow instance.

Valid settings are:

  • number of Steps
  • opacity
  • opacity Power
  • offset
  • offset Power
  • blur
  • blur Power
  • shadow Color

Constructors

Config({int numSteps: 10, double opacity: 0.3, double opacityPow: 1.0, double offset: 0.5, double offsetPow: 2.0, double blur: 35, double blurPow: 1, Color shadowColor: Colors.black})
Create new Configuration Object or if it created for first time return that instance. [...]
const

Properties

blur double
final
blurPow double
final
numSteps int
final
offset double
final
offsetPow double
final
opacity double
final
opacityPow double
final
shadowColor Color
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copyWith({int numSteps, double opacity, double opacityPow, double offset, double offsetPow, double blur, double blurPow, Color shadowColor}) Config
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited