ResponsiveItemWrapper<T> constructor

const ResponsiveItemWrapper<T>({
  1. Key? key,
  2. required T item,
  3. required int index,
  4. required Widget child,
  5. required BoxConstraints constraints,
  6. SelectionManager<T>? selectionManager,
  7. List<Widget>? leadingActions,
  8. List<Widget>? trailingActions,
  9. ValueChanged<T>? onTap,
  10. ValueChanged<T>? onLongPress,
  11. void onLeadingSwipe(
    1. T item,
    2. int index
    )?,
  12. void onTrailingSwipe(
    1. T item,
    2. int index
    )?,
  13. 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,
});