BeuiArcPicker class

A radial single-choice picker with drag momentum and keyboard controls.

Pass value and onChanged for controlled use, or omit value and seed defaultValue to let the picker manage selection. Top and bottom arcs are scrolled horizontally; left and right arcs are scrolled vertically.

Inheritance

Constructors

BeuiArcPicker({required List<BeuiArcPickerOption> options, String? value, String? defaultValue, ValueChanged<String>? onChanged, BeuiArcPickerSide side = BeuiArcPickerSide.right, double radius = 280, int visibleCount = 7, double itemHeight = 48, bool disabled = false, String? semanticLabel = 'Choose an option', Key? key})
Creates an arc picker over options.
const

Properties

defaultValue → String?
Initial value for uncontrolled use.
final
disabled → bool
Whether the entire picker is disabled.
final
hashCode → int
The hash code for this object.
no setterinherited
itemHeight → double
Minimum spacing between choices in logical pixels.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onChanged → ValueChanged<String>?
Called each time an enabled choice is selected or crossed.
final
options → List<BeuiArcPickerOption>
The choices displayed around the arc.
final
radius → double
Curve radius in logical pixels. Larger values make a gentler arc.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
semanticLabel → String?
Accessible label for the radio group.
final
side → BeuiArcPickerSide
Direction the curve bows toward.
final
value → String?
Controlled selected value. When null, defaultValue seeds internal state.
final
visibleCount → int
Number of choices visible along the arc.
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<BeuiArcPicker>
Creates the mutable state for this widget at a given location in the tree.
override
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