open<T> method

Future<T?> open<T>(
  1. BuildContext context
)

Launches the mixed-in widget as a modal dialog in the Arcane UI system.

Supports generic return types for capturing user interactions. Integrates with ArcaneTheme for barrier styling.

Implementation

Future<T?> open<T>(BuildContext context) {
  return showDialog<T>(
      context: context,
      barrierDismissible: true,
      useSafeArea: false,
      barrierColor: ArcaneTheme.of(context).barrierColors.dialog,
      builder: (context) => this);
}