SingleConfig class

Configuration for waves derived from one base color.

Inheritance

Constructors

SingleConfig({int? layers, Color color = const Color(0xFF2196F3), List<double>? opacityPercentages, List<int>? durations, List<double>? heightPercentages, MaskFilter? blur})
Creates wave layers from a single color.

Properties

blur MaskFilter?
Optional blur mask applied to each wave layer.
final
color Color
Base color used for every wave layer.
final
colorMode ColorMode?
The color generation mode represented by this config.
finalinherited
durations List<int>
Per-layer animation durations in milliseconds.
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
opacityPercentages List<double>
Per-layer opacity values 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