WheelDisplay class

Inheritance

Constructors

WheelDisplay({Key? key, required List<WheelSegment> segments, required double angle, required double size, required bool showPointer, required double pointerOffset, required Color pointerColor, required bool animatePointerColor, required bool enableTapToSpin, required bool showCenterDot, required bool showWheelBorder, required Color wheelBorderColor, required double wheelBorderWidth, required TextStyle segmentTextStyle, required double segmentFontSize, required FontWeight segmentFontWeight, required Color segmentTextColor, required bool showWheelShadow, required double wheelShadowBlur, required Color wheelShadowColor, required double wheelShadowOffsetX, required double wheelShadowOffsetY, required double initialAngle, required double segmentGap, Widget? centerWidget, VoidCallback? onWheelTap, Widget? customPointer})
const

Properties

angle double
final
animatePointerColor bool
final
centerWidget Widget?
final
customPointer Widget?
final
enableTapToSpin bool
final
hashCode int
The hash code for this object.
no setterinherited
initialAngle double
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onWheelTap VoidCallback?
final
pointerColor Color
final
pointerOffset double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentFontSize double
final
segmentFontWeight FontWeight
final
segmentGap double
final
segments List<WheelSegment>
final
segmentTextColor Color
final
segmentTextStyle TextStyle
final
showCenterDot bool
final
showPointer bool
final
showWheelBorder bool
final
showWheelShadow bool
final
size double
final
wheelBorderColor Color
final
wheelBorderWidth double
final
wheelShadowBlur double
final
wheelShadowColor Color
final
wheelShadowOffsetX double
final
wheelShadowOffsetY double
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited