SwipeFeedCard<T> constructor

const SwipeFeedCard<T>({
  1. Key? key,
  2. required String objectKey(
    1. T
    ),
  3. required SwipeFeedCardController controller,
  4. required Tuple2<dynamic, Store<SwipeFeedCardState>> item,
  5. required bool isLast,
  6. required int index,
  7. Tuple3<SimulationDelegate, SwipeCardSimulation, bool>? simulationDelegate()?,
  8. ConcreteCubit<List<AnimationSystemController>>? bloc,
  9. Widget? mask,
  10. Widget? loadingPlaceHolder,
  11. EdgeInsets? padding,
  12. bool canExpand(
    1. T
    )?,
  13. SwipeFeedBuilder<T>? childBuilder,
  14. Widget background(
    1. BuildContext context,
    2. Widget? child
    )?,
  15. dynamic onPanUpdate(
    1. double dx,
    2. double dy,
    3. bool trustSimulationRunning
    )?,
  16. Future<bool> onSwipe(
    1. double dx,
    2. double dy,
    3. Future<void> (),
    4. DismissDirection direction,
    5. Duration duration,
    )?,
  17. Future<void> onContinue()?,
  18. AnimationSystemController? topAnimationSystemController,
  19. AnimationSystemController? bottomAnimationSystemController,
  20. AnimationSystemDelegate? backgroundDelegate,
  21. dynamic onLoad(
    1. T
    )?,
})

Implementation

const SwipeFeedCard({
  Key? key,
  required this.objectKey,
  required this.controller,
  required this.item,
  required this.isLast,
  required this.index,
  this.simulationDelegate,
  this.bloc,
  this.mask,
  this.loadingPlaceHolder,
  this.padding,
  this.canExpand,
  this.childBuilder,
  this.background,
  this.onPanUpdate,
  this.onSwipe,
  this.onContinue,
  this.topAnimationSystemController,
  this.bottomAnimationSystemController,
  this.backgroundDelegate,
  this.onLoad
}) : super(key: key);