removeRowWithAnimation method
删除目标行
Implementation
removeRowWithAnimation(
LeftScrollCloseTag? tag,
Key? key, {
Function? onRemove,
}) async {
if (tag == null) return;
if (map[tag] == null) return;
// targetStatus(tag, key)?.value = LeftScrollStatus.close;
targetStatus(tag, key)?.value = LeftScrollStatus.remove;
await Future.delayed(Duration(milliseconds: 300));
onRemove?.call();
targetStatus(tag, key)?.value = LeftScrollStatus.close;
}