getActionPane method
Implementation
ActionPane? getActionPane(bool left, BuildContext context) {
if (slideLeft == left)
return ActionPane(
extentRatio: extentRatio,
motion: const ScrollMotion(),
dismissible: (onAction == null || !dismissible)
? null
: DismissiblePane(
onDismissed: () {
onAction!();
},
),
children: [
slideAction(context),
if (onSecondaryAction != null) secondarySlideAction(context),
],
);
return null;
}