swipeBack property
final
Whether an edge swipe pops this route (the iOS back gesture).
null (the default) follows the platform, like MaterialPageRoute:
enabled when ThemeData.platform is iOS or macOS, disabled elsewhere.
Even when enabled, the swipe is refused wherever a pop would be — the
first route, a PopScope(canPop: false), or mid-transition.
Implementation
final bool? swipeBack;