CodePreview constructor

const CodePreview({
  1. Key? key,
  2. RoomClient? room,
  3. required String filename,
  4. Uri? url,
  5. String? text,
  6. bool readOnly = false,
  7. bool showToolbar = true,
  8. CodePreviewController? controller,
})

Implementation

const CodePreview({
  super.key,
  this.room,
  required this.filename,
  this.url,
  this.text,
  this.readOnly = false,
  this.showToolbar = true,
  this.controller,
});