NiceLookup<T> constructor
const
NiceLookup<T>({ - Key? key,
- required Future<List<T>> onSearch(
- String query
),
- required String itemLabel(
- T item
),
- required List<NiceLookupColumn<T>> columns,
- T? value,
- String? label,
- String? hint,
- String? errorText,
- bool enabled = true,
- ValueChanged<T>? onSelected,
})
Implementation
const NiceLookup({
super.key,
required this.onSearch,
required this.itemLabel,
required this.columns,
this.value,
this.label,
this.hint,
this.errorText,
this.enabled = true,
this.onSelected,
});