canSwipe property

bool canSwipe
final

Whether the user can swipe to navigate back.

Set this to false to disable swiping completely.

Implementation

final bool canSwipe;