showParentSpaceList function

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

Implementation

Future<void> showParentSpaceList(
  BuildContext context,
  String roomId,
) async {
  await showModalBottomSheet(
    context: context,
    showDragHandle: true,
    useSafeArea: true,
    isScrollControlled: true,
    constraints: const BoxConstraints(maxHeight: 450),
    builder: (context) {
      return ParentSpaceList(roomId: roomId);
    },
  );
}