ResponsiveItemWrapper<T> constructor
const
ResponsiveItemWrapper<T> ({
- Key? key,
- required T item,
- required int index,
- required Widget child,
- required BoxConstraints constraints,
- SelectionManager<
T> ? selectionManager, - List<
Widget> ? leadingActions, - List<
Widget> ? trailingActions, - ValueChanged<
T> ? onTap, - ValueChanged<
T> ? onLongPress, - void onLeadingSwipe(
- T item,
- int index
- void onTrailingSwipe(
- T item,
- int index
- Duration? animationDuration,
Creates a responsive item wrapper.
Implementation
const ResponsiveItemWrapper({
super.key,
required this.item,
required this.index,
required this.child,
required this.constraints,
this.selectionManager,
this.leadingActions,
this.trailingActions,
this.onTap,
this.onLongPress,
this.onLeadingSwipe,
this.onTrailingSwipe,
this.animationDuration,
});