onListItems method
ListItems<T>
onListItems({
- String? title,
- List<
FieldWidgets< ? items,T> > - MapItemFunction? mapItem,
- GestureTapCallback? onTap,
- ValueChanged<
String?> ? onChanged, - List<
String> ? dropItems,
Implementation
ListItems<T> onListItems({
String? title,
List<FieldWidgets<T>>? items,
MapItemFunction? mapItem,
GestureTapCallback? onTap,
ValueChanged<String?>? onChanged,
List<String>? dropItems,
}) {
return ListItems<T>(
this,
title: title ?? label,
items: items ?? this.items as List<DataFieldItem>?,
mapItem: mapItem,
onTap: onTap,
onChanged: onChanged,
dropItems: dropItems ?? onDropItems() ?? [''],
);
}