goBallistic method

  1. @override
void goBallistic(
  1. double velocity
)
override

Terminate the current activity and start a ballistic activity with the given velocity.

Implementation

@override
void goBallistic(double velocity) {
  beginActivity(
    createOuterBallisticScrollActivity(velocity),
    (_NestedScrollPosition position) =>
        createInnerBallisticScrollActivity(position, velocity),
  );
}