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