fields method

  1. @override
List<NUIEntField> fields()
override

Implementation

@override
List<NUIEntField> fields() {
  return [
    NUIEntField<IDialogTheme>(name: "accentColor", type: NUIEntType.STRING, setter: (data, value) => data.accentColor = value, getter: (data) => data.accentColor),
    NUIEntField<IDialogTheme>(name: "backgroundColor", type: NUIEntType.STRING, setter: (data, value) => data.backgroundColor = value, getter: (data) => data.backgroundColor),
    NUIEntField<IDialogTheme>(name: "textOnAccentColor", type: NUIEntType.STRING, setter: (data, value) => data.textOnAccentColor = value, getter: (data) => data.textOnAccentColor),
    NUIEntField<IDialogTheme>(name: "textOnBackgroundColor", type: NUIEntType.STRING, setter: (data, value) => data.textOnBackgroundColor = value, getter: (data) => data.textOnBackgroundColor),
    NUIEntField<IDialogTheme>(name: "textHighlightColor", type: NUIEntType.STRING, setter: (data, value) => data.textHighlightColor = value, getter: (data) => data.textHighlightColor),
  ];
}