NeonWheelFrame class

Two glowing neon tubes on a dark ring. See WheelFrame.neon.

Inheritance

Constructors

NeonWheelFrame({Color color = const Color(0xFF00E5FF), Color secondaryColor = const Color(0xFFFF2BD6), Color plateColor = const Color(0xFF0D0B1E)})
Creates a NeonWheelFrame.
const

Properties

color → Color
The color of the outer tube.
final
hashCode → int
The hash code for this object.
no setteroverride
indicatorColor → Color?
A pointer color that suits this frame, used when the wheel doesn't set indicatorColor. Null keeps the default red.
no setteroverride
plateColor → Color
The color of the dark ring and the plate behind the slices.
final
preferredInset → double
The SpinnerWheel.wheelInset this frame is designed for, used when the wheel doesn't set one. It decides how much room the frame gets around the slices.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondaryColor → Color
The color of the inner tube, around the slices.
final

Methods

copyWith({Color? color, Color? secondaryColor, Color? plateColor}) → NeonWheelFrame
Creates a copy of this frame with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintBack(Canvas canvas, WheelFrameGeometry geometry) → void
Paints the part of the frame behind the slices.
override
paintFront(Canvas canvas, WheelFrameGeometry geometry) → void
Paints the part of the frame in front of the slices.
override
shouldRepaint(covariant WheelFrame oldFrame) → bool
Whether this frame paints differently from oldFrame.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override