createSimulation method
使用弹簧动画来驱动 animationController
Implementation
@override
Simulation? createSimulation({required bool forward}) {
return ElDrawer.createSimulation(
controller: animationController,
velocity: forward ? 1.0 : -1.0,
);
}