CodePreview constructor
const
CodePreview({
- Key? key,
- RoomClient? room,
- required String filename,
- Uri? url,
- String? text,
- bool readOnly = false,
- bool showToolbar = true,
- CodePreviewController? controller,
- CodePreviewEditorBuilder? editorBuilder,
Implementation
const CodePreview({
super.key,
this.room,
required this.filename,
this.url,
this.text,
this.readOnly = false,
this.showToolbar = true,
this.controller,
this.editorBuilder,
});