ClassicWheelFrame class

A red rim with a silver trim, pointed teeth and gold studs. See WheelFrame.classic.

Inheritance

Constructors

ClassicWheelFrame({Color rimColor = const Color(0xFFE41B23), Color? rimHighlightColor, Color trimColor = const Color(0xFFE8E8EA), Color studColor = const Color(0xFFF4C542), int toothCount = 8, int studCount = 8, Color plateColor = const Color(0xFFF2F2F2), bool shadow = true})
Creates a ClassicWheelFrame.
const

Properties

effectiveRimHighlightColor → Color
The highlight color actually used on the rim.
no setter
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 setterinherited
plateColor → Color
The color of the plate shown 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
rimColor → Color
The main color of the outer rim.
final
rimHighlightColor → Color?
The lighter color that shines on the rim. Defaults to a lighter, warmer version of rimColor.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadow → bool
Whether to draw a drop shadow and a soft shadow on the slices' edge.
final
studColor → Color
The color of the studs on the rim.
final
studCount → int
The number of studs on the rim, placed between the teeth. 0 draws none.
final
toothCount → int
The number of pointed teeth on the trim ring. 0 draws none.
final
trimColor → Color
The color of the trim ring and teeth between the rim and the slices.
final

Methods

copyWith({Color? rimColor, Color? rimHighlightColor, Color? trimColor, Color? studColor, int? toothCount, int? studCount, Color? plateColor, bool? shadow}) → ClassicWheelFrame
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