SettingItem constructor

const SettingItem({
  1. required String id,
  2. required String label,
  3. String? searchText,
  4. required SettingType type,
  5. required dynamic value,
  6. List<String>? options,
  7. ValueChanged? onChange,
})

Implementation

const SettingItem({
  required this.id,
  required this.label,
  this.searchText,
  required this.type,
  required this.value,
  this.options,
  this.onChange,
});