show<T> static method

Future<T?> show<T>(
  1. BuildContext context, {
  2. ChatItemId? id,
  3. Iterable<LastChatRead> reads = const [],
})

Displays a MessageInfo wrapped in a ModalPopup.

Implementation

static Future<T?> show<T>(
  BuildContext context, {
  ChatItemId? id,
  Iterable<LastChatRead> reads = const [],
}) {
  return ModalPopup.show(
    context: context,
    child: MessageInfo(id: id, reads: reads),
  );
}