const MediaAttachment({ super.key, required this.attachment, this.width, this.height, this.fit, this.onError, });