show<T> static method

Future<T?> show<T>(
  1. BuildContext context,
  2. List<RxSession> sessions, {
  3. bool exceptCurrent = false,
})

Displays a DeleteSessionView wrapped in a ModalPopup.

Implementation

static Future<T?> show<T>(
  BuildContext context,
  List<RxSession> sessions, {
  bool exceptCurrent = false,
}) {
  return ModalPopup.show(
    context: context,
    child: DeleteSessionView(
      sessions: sessions,
      exceptCurrent: exceptCurrent,
    ),
  );
}