TSearchListPage constructor

TSearchListPage({
  1. Key? key,
  2. required List<String> list,
  3. required List<String> values,
  4. Widget? title,
  5. String cancelText = 'Close',
  6. String submitText = 'Apply',
  7. Widget? renameLabelText,
  8. required void onSubmit(
    1. List<String> values
    ),
  9. void onCancel()?,
  10. void onChanged(
    1. String text
    )?,
  11. String? onCheckIsError(
    1. String text
    )?,
  12. bool autofocus = false,
  13. TSearchListTypes type = TSearchListTypes.checkList,
})

Implementation

TSearchListPage({
  super.key,
  required this.list,
  required this.values,
  this.title,
  this.cancelText = 'Close',
  this.submitText = 'Apply',
  this.renameLabelText,
  required this.onSubmit,
  this.onCancel,
  this.onChanged,
  this.onCheckIsError,
  this.autofocus = false,
  this.type = TSearchListTypes.checkList,
});