TSearchListPage constructor
TSearchListPage({
- Key? key,
- required List<
String> list, - required List<
String> values, - Widget? title,
- String cancelText = 'Close',
- String submitText = 'Apply',
- Widget? renameLabelText,
- required void onSubmit(),
- void onCancel()?,
- void onChanged(
- String text
- String? onCheckIsError(
- String text
- bool autofocus = false,
- 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,
});