CodeFieldRenderer enum

The renderer a code field draws the code with.

Inheritance
Available extensions

Values

textField → const CodeFieldRenderer

The text field renderer.

The code is drawn by Flutter's own text field, which lays the whole document out — one paragraph for the entire text — on every change.

reEditor → const CodeFieldRenderer

The re_editor renderer.

The code is drawn by re_editor, which lays out only the lines that are on screen, so a document of any length costs the same to draw as a document of one screen.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<CodeFieldRenderer>
A constant List of the values in this enum, in order of their declaration.