RouletteStyle class

Describe the render style of roulette.

Constructors

RouletteStyle({double dividerThickness = 5, Color dividerColor = Colors.white, Color centerStickerColor = Colors.blue, double centerStickSizePercent = 0.1, double textLayoutBias = 0.85, TextStyle textStyle = defaultTextStyle})
const

Properties

centerStickerColor Color
The color of the circle at center
final
centerStickSizePercent double
The size percent of the circle at center
final
dividerColor Color
The color of divider between each parts
final
dividerThickness double
The thickness of divider between each parts
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textLayoutBias double
The text layout offset, used to determin where to draw the text
final
textStyle TextStyle
The text style of the Roulette, can be override by the RouletteUnit's textStyle.
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

Constants

defaultIconStyle → const TextStyle
Default section icon style
defaultTextStyle → const TextStyle
Default section text style