VolumeBoosterDial class
An interactive 3D rotary volume & overdrive boost dial with segmented LED perimeter ticks, multi-zone neon progress arc, harmonic overdrive pulse rings, live decibel readout, and quick-jump preset buttons.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- VolumeBoosterDial
Constructors
-
VolumeBoosterDial({Key? key, VolumeBoosterController? controller, double initialVolume = 1.25, double maxBoostMultiplier = 2.0, double size = 240.0, VolumeBoosterStyle? style, bool showQuickButtons = true, bool showDecibelBadge = true, bool showSafetyBadge = true, bool enableHaptics = true, ValueChanged<
double> ? onChanged, ValueChanged<bool> ? onMuteChanged}) -
Creates a VolumeBoosterDial.
const
Properties
- controller → VolumeBoosterController?
-
Optional external VolumeBoosterController. If omitted, an internal
controller is created automatically.
final
- enableHaptics → bool
-
Whether to trigger light haptic ticks when crossing boost milestones.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialVolume → double
-
Initial effective volume multiplier (
1.0=100%) when controller is null.final - key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maxBoostMultiplier → double
-
Maximum amplification multiplier (
2.0=200%) when controller is null.final -
onChanged
→ ValueChanged<
double> ? -
Callback fired whenever the effective volume multiplier changes.
final
-
onMuteChanged
→ ValueChanged<
bool> ? -
Callback fired whenever the mute state changes.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showDecibelBadge → bool
-
Whether to display the live decibel gain pill (
+6.0 dB) inside the dial.final - showQuickButtons → bool
-
Whether to render the quick-jump boost buttons (
Mute,100%,150%,Max) beneath the rotary dial.final - showSafetyBadge → bool
-
Whether to display the safety zone badge (
SAFE GAIN,TURBO BOOST, etc.).final - size → double
-
Diameter of the rotary dial in logical pixels.
final
- style → VolumeBoosterStyle?
-
Visual theme style for the dial. Defaults to VolumeBoosterStyle.cyberNeon.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< VolumeBoosterDial> -
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