KoderBackScope

Ratified Navigation navigation/back-behavior.kmd

Pops one route per back/Esc press; exits the app only at the root. Centralizes back behavior so each screen does not re-implement it.

Demo

Static visual mock — pixel-faithful but non-interactive. Sprint 2.3 will swap selected demos for live Flutter Web embeds.

Home Settings Appearance
Esc Pops one route at a time; exits only at the root.

Same behavior on Android back, iOS swipe, web back button, and desktop Esc.

Availability

Flutter (koder_kit)
koder_kit v0.4.0+

Flutter usage

import 'package:koder_kit/koder_kit.dart';
KoderBackScope(
  enableSystemExitAtRoot: true,
  child: HomeScreen(),
)

Related in the same group