onBack property
getter/setter pair
Optional callback for navigating back from the prejoin/setup page. When provided, the setup page back button will call this instead of using Navigator.maybePop. Useful for apps using GoRouter or custom routing.
Implementation
VoidCallback? onBack;