CustomConfig class

Configuration for waves with explicit per-layer colors or gradients.

Inheritance

Constructors

CustomConfig({List<Color>? colors, List<List<Color>>? gradients, Alignment? gradientBegin, Alignment? gradientEnd, required List<int>? durations, required List<double>? heightPercentages, MaskFilter? blur})
Creates explicit wave layers from colors or gradients.

Properties

blur MaskFilter?
Optional blur mask applied to each wave layer.
final
colorMode ColorMode?
The color generation mode represented by this config.
finalinherited
colors List<Color>?
Per-layer solid colors.
final
durations List<int>?
Per-layer animation durations in milliseconds.
final
gradientBegin Alignment?
Alignment where each gradient begins.
final
gradientEnd Alignment?
Alignment where each gradient ends.
final
gradients List<List<Color>>?
Per-layer gradients.
final
hashCode int
The hash code for this object.
no setterinherited
heightPercentages List<double>?
Per-layer vertical offsets, expressed as fractions from 0 to 1.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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