removeItem method
Implementation
@override
void removeItem(State? state, int? index, T? itemToRemove) {
globalKey!.currentState?.removeItem(index!, (context, animation) {
return animated(
widget.dismissAnimationType,
name: "remove-$index",
reversed: true,
animation: animation,
child: itemBuilder(context, itemToRemove, index, animation),
);
});
}