showLimitedSpaceList function

Future<void> showLimitedSpaceList(
  1. dynamic context,
  2. String roomId
)

Implementation

Future<void> showLimitedSpaceList(
  BuildContext context,
  String roomId,
) async {
  if (!context.mounted) return;
  showModalBottomSheet(
    showDragHandle: true,
    context: context,
    constraints: const BoxConstraints(maxHeight: 450),
    isScrollControlled: true,
    builder: (context) {
      return LimitedSpaceList(roomId: roomId);
    },
  );
}