FileEditor class

A file in the editor, used by EditorModel model.code.

  • name is the name of the file shown in the navbar.
  • language is the language used by the theme
  • code is the content of the file, the code

Tip: to simplify writing code in a String, write line by line your code in a list List

Constructors

FileEditor({String? name, String? language, String? code})

Properties

code String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
language String?
getter/setter pair
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited