fields method
List<NUIEntField>
fields(
)
override
Implementation
@override
List<NUIEntField> fields() {
return [
NUIEntField<NUITextStyle>(name: "color", type: NUIEntType.STRING, setter: (data, value) => data._color = value, getter: (data) => data._color),
NUIEntField<NUITextStyle>(name: "size", type: NUIEntType.DOUBLE, setter: (data, value) => data._size = value, getter: (data) => data._size),
NUIEntField<NUITextStyle>(name: "font", type: NUIEntType.STRING, setter: (data, value) => data._font = value, getter: (data) => data._font),
NUIEntField<NUITextStyle>(name: "bold", type: NUIEntType.BOOLEAN, setter: (data, value) => data._bold = value, getter: (data) => data._bold),
NUIEntField<NUITextStyle>(name: "underline", type: NUIEntType.BOOLEAN, setter: (data, value) => data._underline = value, getter: (data) => data._underline),
NUIEntField<NUITextStyle>(name: "italic", type: NUIEntType.BOOLEAN, setter: (data, value) => data._italic = value, getter: (data) => data._italic),
];
}