NumberController class
- Inheritance
-
- Object
- Controller
- NumberController
Constructors
- NumberController.new({GUI? parent, dynamic value_, double min_ = 0, double max_ = 100, int step_ = 1})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- label ↔ String?
-
getter/setter pairinherited
- max_ ↔ double
-
getter/setter pair
- min_ ↔ double
-
getter/setter pair
- onChange ↔ Callback?
-
getter/setter pairinherited
- parent ↔ GUI?
-
包含此文件夹的GUI。如果这是根GUI,则为空
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- step_ ↔ int
-
getter/setter pair
- value_ ↔ dynamic
-
Used to determine if the GUI is closed. Use
gui.open()
orgui.close()
to change this. Used to determine if the GUI is hidden. Usegui.show()
orgui.hide()
to change this.getter/setter pairinherited
Methods
-
hide(
) → dynamic -
inherited
-
max(
double n) → dynamic - set max
-
min(
double n) → dynamic - set min
-
name(
String n) → dynamic -
set name
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
) → dynamic -
inherited
-
step(
int n) → dynamic - set step
-
toString(
) → String -
A string representation of this object.
inherited
-
value(
dynamic n) → dynamic -
set value
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited