SwipeFeedCard<T> constructor
const
SwipeFeedCard<T> ({
- Key? key,
- required String objectKey(
- T
- required SwipeFeedCardController controller,
- required Tuple2<
dynamic, Store< item,SwipeFeedCardState> > - required bool isLast,
- required int index,
- Tuple3<
SimulationDelegate, SwipeCardSimulation, bool> ? simulationDelegate()?, - ConcreteCubit<
List< ? bloc,AnimationSystemController> > - Widget? mask,
- Widget? loadingPlaceHolder,
- EdgeInsets? padding,
- bool canExpand(
- T
- SwipeFeedBuilder<
T> ? childBuilder, - Widget background(
- BuildContext context,
- Widget? child
- dynamic onPanUpdate()?,
- Future<
bool> onSwipe(- double dx,
- double dy,
- Future<
void> (), - DismissDirection direction,
- Duration duration,
- Future<
void> onContinue()?, - AnimationSystemController? topAnimationSystemController,
- AnimationSystemController? bottomAnimationSystemController,
- AnimationSystemDelegate? backgroundDelegate,
- dynamic onLoad(
- 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);