SlidableData constructor

const SlidableData({
  1. Key? key,
  2. required SlideActionType? actionType,
  3. required SlidableRenderingMode renderingMode,
  4. required double totalActionsExtent,
  5. required double dismissThreshold,
  6. required bool dismissible,
  7. required SlideActionDelegate? actionDelegate,
  8. required Animation<double> overallMoveAnimation,
  9. required Animation<double>? actionsMoveAnimation,
  10. required Animation<double>? dismissAnimation,
  11. required Slidable slidable,
  12. required double actionExtentRatio,
  13. required Axis direction,
  14. required Widget child,
})

Creates a SlidableData.

Implementation

const SlidableData({
  Key? key,
  required this.actionType,
  required this.renderingMode,
  required this.totalActionsExtent,
  required this.dismissThreshold,
  required this.dismissible,
  required this.actionDelegate,
  required this.overallMoveAnimation,
  required this.actionsMoveAnimation,
  required this.dismissAnimation,
  required this.slidable,
  required this.actionExtentRatio,
  required this.direction,
  required Widget child,
}) : super(key: key, child: child);