ratio property

double get ratio

represents the current sliding ratio relative to the size of the SlidePanel if ratio > 0 indicates we are sliding to see the pre actions if ratio < 0 indicates we are sliding to see the post actions if ratio == 0 indicates we are not sliding, all actions are hidden, only the main child is visible

Implementation

double get ratio => _animationController.value;