finishedAnimation method
dynamic
finishedAnimation()
Implementation
finishedAnimation() {
// WidgetsBinding.instance.addPostFrameCallback((_) {
if (animate = true) {
Future.delayed(Duration(milliseconds: 100), () =>
setState(() {
animate = false;
if (openSheet == null) {
fromTop = null;
fromBottom = null;
fromLeft = null;
fromRight = null;
}
if (animatingClose == true) {
animatingClose = false;
openSheet = null;
}
// widget.model.open = '';
})
);
}
if (afterAnimation != null ) {
afterAnimation!();
afterAnimation = null;
}
// });
}