RainbowConfig class
Constructors
-
RainbowConfig.new({List<
Color> colors = const [Color(0xFFFF1744), Color(0xFFFF9100), Color(0xFFFFEA00), Color(0xFF00E676), Color(0xFF00B0FF), Color(0xFF651FFF), Color(0xFFAA00FF)], double arcThickness = 25.0, Color backgroundColor = Colors.black, bool useGradient = true, double arcSpacing = 8.0, double heightRatio = 0.6, double positionOffset = 0.15, double glowIntensity = 0.5, int animationDuration = 3000, bool enableShimmer = true, RainbowPosition position = RainbowPosition.bottom, RainbowOrientation orientation = RainbowOrientation.up}) -
const
Properties
- animationDuration → int
-
Animation duration in milliseconds
final
- arcSpacing → double
-
The spacing between rainbow arcs
final
- arcThickness → double
-
The thickness of each arc
final
- backgroundColor → Color
-
Background color behind the rainbow
final
-
colors
→ List<
Color> -
The colors of the rainbow
final
- enableShimmer → bool
-
Enable shimmer effect
final
- glowIntensity → double
-
Glow intensity (0.0 to 1.0)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heightRatio → double
-
Rainbow height ratio (0.0 to 1.0)
final
- orientation → RainbowOrientation
-
Rainbow orientation (up or down)
final
- position → RainbowPosition
-
Rainbow position (top or bottom)
final
- positionOffset → double
-
Position offset from anchor (0.0 to 1.0)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useGradient → bool
-
Enable or disable gradient transitions
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