animateToOffset method
Programmatically animates to a specific horizontal offset in logical pixels.
Implementation
void animateToOffset(double target, {bool animated = true}) {
if (!mounted) return;
if (target != 0.0) {
_scope?.registerOpenRow(this);
} else {
_scope?.unregisterRow(this);
}
_animateTo(target, animated: animated);
}