widgets library

Classes

ConfirmDialog
A reusable yes/no confirmation dialog. Pops the enclosing Navigator with true/false rather than depending on any particular router, so it works the same whether pushed via go_router, Navigator 2.0, or showDialog.
ConfirmDialogArgs
DialogPage<T>
A Page that presents builder as a DialogRoute, for use as a route's pageBuilder in router setups (e.g. go_router) that need a dialog to participate in the navigation stack.
InputDialog
A reusable single-line text-input dialog. Pops the enclosing Navigator with the entered text, or null if cancelled/dismissed - rather than depending on any particular router, so it works the same whether pushed via go_router, Navigator 2.0, or showDialog.
InputDialogArgs
TapUnlock
Wraps child (e.g. a version number label) so that tapping it tapsRequired times within tapWindow prompts for a code via onUnlock - a deliberate gesture gate for things like environment switching that shouldn't be reachable by a single casual tap.