RoyalWheelFrame class
Polished gold set with gems and pearls. See WheelFrame.royal.
- Inheritance
-
- Object
- WheelFrame
- RoyalWheelFrame
Constructors
- RoyalWheelFrame({Color goldColor = const Color(0xFFD4A62A), Color gemColor = const Color(0xFFD0103A), int gemCount = 12, Color plateColor = const Color(0xFF3B2410), bool shadow = true})
-
Creates a RoyalWheelFrame.
const
Properties
- gemColor → Color
-
The color of the gems.
final
- gemCount → int
-
The number of gems around the rim. Pearls sit between them. 0 draws
neither.
final
- goldColor → Color
-
The base color of the gold.
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 plate shown behind the slices.
final
- preferredInset → double
-
The
SpinnerWheel.wheelInsetthis 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
- shadow → bool
-
Whether to draw a drop shadow and a soft shadow on the slices' edge.
final
Methods
-
copyWith(
{Color? goldColor, Color? gemColor, int? gemCount, Color? plateColor, bool? shadow}) → RoyalWheelFrame - 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