DoubleOrNullKnobsBuilder class

Constructors

DoubleOrNullKnobsBuilder(KnobAdded onKnobAdded)

Properties

hashCode int
The hash code for this object.
no setterinherited
onKnobAdded KnobAdded
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

input({required String label, String? description, double? initialValue}) double?
Creates a textfield which users can type double values into. You can use the num?.toInt() function to turn this into an integer Can optionally hold a null value
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
slider({required String label, String? description, double? initialValue, double min = 0, double max = 20, int? divisions}) double?
Creates a slider that can be slid to specific double values. You can use the num?.toInt() function to make this into an integer. Can optionally hold a null value
toString() String
A string representation of this object.
inherited

Operators

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