NullableKnobsBuilder class abstract
A version of KnobsBuilder that creates nullable versions of all knobs.
Constructors
- NullableKnobsBuilder()
-
A version of KnobsBuilder that creates nullable versions of all knobs.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
boolean(
{required String label, String? description, bool initial = false, bool enabled = true}) → bool? -
Creates checkbox with
label
,description
andinitial
value. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
options<
T> ({required String label, String? description, required T initial, List< Option< options = const [], bool enabled = true}) → T?T> > -
Creates select field with
label
,description
,initial
value and list of options. -
slider(
{required String label, String? description, double? initial, double max = 1, double min = 0, bool enabled = true}) → double? -
Creates slider knob with
double
value. -
sliderInt(
{required String label, String? description, int? initial, int max = 100, int min = 0, int divisions = 100, bool enabled = true}) → int? -
Creates slider knob with
int
value. -
text(
{required String label, String? description, String initial = '', bool enabled = true}) → String? -
Creates text input field with
label
,description
andinitial
value. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited