edit property

bool edit
final

You can disable the edit button (it won't show up at all) just like this :

CodeEditor(
  model: model, // my EditorModel()
  edit: false, // disable the edit button
)

By default, the value is true.

Implementation

final bool edit;