GUI class

Constructors

GUI.new()

Properties

children List<GUI>
子 GUI
getter/setter pair
controllers List<Controller>
getter/setter pair
folders List<GUI>
The list of folders contained by this GUI.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
label String?
Used to determine if the GUI is closed. Use gui.open() or gui.close() to change this. Used to determine if the GUI is hidden. Use gui.show() or gui.hide() to change this.
getter/setter pair
parent GUI?
包含此文件夹的GUI。如果这是根GUI,则为空
getter/setter pair
root GUI?
根GUI
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(Map object, String str, {List? options, double? min, double? max, dynamic value, int? step}) Controller
gui.add( object, 'property' ); gui.add( object, 'number', min: 0, max: 100, value: 1 ); gui.add( object, 'isShow', value: false ); gui.add( object, 'options', [ 1, 2, 3 ] ); gui.add( object, 'options', [ 1, 2, 3 ], value: 1); gui.add( object, 'options', [{ 'label': any, value: any }] );
addColor() → dynamic
addFolder() → dynamic
build(BuildContext context) Widget
name(String n) → dynamic
set name
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChange(dynamic v) GUI
toString() String
A string representation of this object.
inherited

Operators

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