widget method
Implementation
widget(context) => Dismissible(
key: key,
child: child ?? SizedBox.shrink(),
background: background,
secondaryBackground: secondaryBackground,
confirmDismiss: confirmDismiss,
onResize: onResize,
onUpdate: onUpdate,
onDismissed: onDismissed,
direction: direction ?? DismissDirection.horizontal,
resizeDuration: resizeDuration,
dismissThresholds: dismissThresholds ?? <DismissDirection, double>{},
movementDuration: movementDuration ?? const Duration(milliseconds: 200),
crossAxisEndOffset: crossAxisEndOffset ?? 0.0,
dragStartBehavior: dragStartBehavior ?? DragStartBehavior.start,
behavior: behavior ?? HitTestBehavior.opaque,
);