RoomBackgroundWidget constructor

RoomBackgroundWidget({
  1. Key? key,
  2. required Room room,
})

Creates a new RoomBackgroundWidget instance.

Implementation

RoomBackgroundWidget({
  Key? key,
  required this.room,
}) : super(
        key: key ?? ValueKey<String>('background-${room.id}'),
      );