FastAppSettingsInputsCategoryDescriptor constructor

const FastAppSettingsInputsCategoryDescriptor({
  1. Map<String, FastFormFieldDescriptor>? fields,
  2. String? titleText,
  3. bool? show,
})

Creates a new instance of the FastAppSettingsInputsCategoryDescriptor class.

fields is an optional map of field descriptors for the category. titleText is an optional string that represents the title of the category. show is an optional boolean that indicates whether the category should be shown.

Implementation

const FastAppSettingsInputsCategoryDescriptor({
  Map<String, FastFormFieldDescriptor>? fields,
  String? titleText,
  bool? show,
}) : super(
        fields: fields ?? kDefaultFastAppSettingsInputsFields,
        titleText: titleText ?? SettingsLocaleKeys.settings_label_user_inputs,
        show: show ?? true,
      );