Flutter Engine
The Flutter Engine
|
Public Member Functions | |
FlutterWidgetProperty (String documentation, String expression, int id, boolean isRequired, boolean isSafeToUpdate, String name, List< FlutterWidgetProperty > children, FlutterWidgetPropertyEditor editor, FlutterWidgetPropertyValue value) | |
boolean | equals (Object obj) |
List< FlutterWidgetProperty > | getChildren () |
String | getDocumentation () |
FlutterWidgetPropertyEditor | getEditor () |
String | getExpression () |
int | getId () |
boolean | isRequired () |
boolean | isSafeToUpdate () |
String | getName () |
FlutterWidgetPropertyValue | getValue () |
int | hashCode () |
JsonObject | toJson () |
String | toString () |
Static Public Member Functions | |
static FlutterWidgetProperty | fromJson (JsonObject jsonObject) |
static List< FlutterWidgetProperty > | fromJsonArray (JsonArray jsonArray) |
Static Public Attributes | |
static final FlutterWidgetProperty[] | EMPTY_ARRAY = new FlutterWidgetProperty[0] |
static final List< FlutterWidgetProperty > | EMPTY_LIST = Lists.newArrayList() |
A property of a Flutter widget.
@coverage dart.server.generated.types
Definition at line 32 of file FlutterWidgetProperty.java.
|
inline |
Constructor for FlutterWidgetProperty
.
Definition at line 94 of file FlutterWidgetProperty.java.
|
inline |
Definition at line 107 of file FlutterWidgetProperty.java.
|
inlinestatic |
Definition at line 124 of file FlutterWidgetProperty.java.
|
inlinestatic |
Definition at line 137 of file FlutterWidgetProperty.java.
|
inline |
The list of children properties, if any. For example any property of type EdgeInsets will have four children properties of type double - left / top / right / bottom.
Definition at line 153 of file FlutterWidgetProperty.java.
|
inline |
The documentation of the property to show to the user. Omitted if the server does not know the documentation, e.g. because the corresponding field is not documented.
Definition at line 161 of file FlutterWidgetProperty.java.
|
inline |
The editor that should be used by the client. This field is omitted if the server does not know the editor for this property, for example because it does not have one of the supported types.
Definition at line 169 of file FlutterWidgetProperty.java.
|
inline |
If the value of this property is set, the Dart code of the expression of this property.
Definition at line 176 of file FlutterWidgetProperty.java.
|
inline |
The unique identifier of the property, must be passed back to the server when updating the property value. Identifiers become invalid on any source code change.
Definition at line 184 of file FlutterWidgetProperty.java.
|
inline |
The name of the property to display to the user.
Definition at line 209 of file FlutterWidgetProperty.java.
|
inline |
If the expression is set, and the server knows the value of the expression, this field is set.
Definition at line 216 of file FlutterWidgetProperty.java.
|
inline |
Definition at line 221 of file FlutterWidgetProperty.java.
|
inline |
True if the property is required, e.g. because it corresponds to a required parameter of a constructor.
Definition at line 192 of file FlutterWidgetProperty.java.
|
inline |
If the property expression is a concrete value (e.g. a literal, or an enum constant), then it is safe to replace the expression with another concrete value. In this case this field is true. Otherwise, for example when the expression is a reference to a field, so that its value is provided from outside, this field is false.
Definition at line 202 of file FlutterWidgetProperty.java.
|
inline |
Definition at line 235 of file FlutterWidgetProperty.java.
|
inline |
Definition at line 264 of file FlutterWidgetProperty.java.
|
static |
Definition at line 34 of file FlutterWidgetProperty.java.
|
static |
Definition at line 36 of file FlutterWidgetProperty.java.