clearAndPush abstract method

Future<void> clearAndPush(
  1. BuildContext context,
  2. String path
)

Clears the navigation stack and pushes a new route.

Implementation

Future<void> clearAndPush(BuildContext context, String path);