ShockwaveConfig class

Constructors

ShockwaveConfig({required double shockStrength, required double lensingSpread, required double powExp, double? maxRadius})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
lensingSpread double
How wide the distortion ring is (LENSING_SPREAD).
final
maxRadius double?
How far the wave travels (MAX_RADIUS). If null, it will be calculated automatically based on the screen size and splash point.
final
powExp double
Sharpness of the wave edge (POW_EXP).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shockStrength double
Intensity of the distortion (SHOCK_STRENGTH).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

gentle → const ShockwaveConfig
A subtle, gentle wave for minimal distraction.
liquid → const ShockwaveConfig
A smooth, viscous liquid effect with wider spread and slower feel.
normal → const ShockwaveConfig
A balanced, standard shockwave effect.