FastSettingsCategoryDescriptor constructor

const FastSettingsCategoryDescriptor({
  1. required String titleText,
  2. Map<String, FastFormFieldDescriptor> fields = const {},
  3. bool show = true,
})

Creates a new instance of FastSettingsCategoryDescriptor.

The titleText parameter is required and specifies the title of the category. The fields parameter is optional and specifies the fields in the category. The show parameter is optional and specifies whether the category should be shown or hidden.

Implementation

const FastSettingsCategoryDescriptor({
  required this.titleText,
  this.fields = const {},
  this.show = true,
});