Skip to content

ModalSurface ​

Category: UI

Source: modal_surface.dart

Classes ​

ModalSurface ​

Thin host for the modal/panel stack. Commands push and dismiss panels directly; domain-specific picker/action assembly lives in the command classes themselves.

Constructor ​

dart
ModalSurface({required this._panelStack, required this._render})

Methods ​

void push(PanelOverlay panel) ​

Push a panel onto the modal stack and re-render.

void dismiss(PanelOverlay panel) ​

Remove a panel from the modal stack and re-render.

Released under the MIT License.