TTransferList<T> constructor
const
TTransferList<T> ({
- Key? key,
- required List<
T> sourceItems, - required List<
T> targetItems, - required ValueChanged<
List< onTargetChanged,T> > - ValueChanged<
List< ? onSourceChanged,T> > - String itemLabel(
- T item
- String itemSubtitle(
- T item
- Widget itemBuilder(
- BuildContext context,
- T item,
- bool isChecked
- bool itemDisabled(
- T item
- String sourceTitle = 'Available',
- String targetTitle = 'Selected',
- bool showSearch = true,
- bool showSelectAll = true,
- bool allowReordering = false,
- double height = 360.0,
- double boxWidth = 260.0,
Implementation
const TTransferList({
super.key,
required this.sourceItems,
required this.targetItems,
required this.onTargetChanged,
this.onSourceChanged,
this.itemLabel,
this.itemSubtitle,
this.itemBuilder,
this.itemDisabled,
this.sourceTitle = 'Available',
this.targetTitle = 'Selected',
this.showSearch = true,
this.showSelectAll = true,
this.allowReordering = false,
this.height = 360.0,
this.boxWidth = 260.0,
});