FilePreview constructor

FilePreview({
  1. required RoomClient room,
  2. required String path,
  3. BoxFit fit = BoxFit.cover,
})

Implementation

FilePreview({required this.room, required this.path, this.fit = BoxFit.cover}) : super(key: Key(path));