CodeBlockActions class

Used to control which actions are available in the Code Block editor, along with the callbacks for each.

Constructors

CodeBlockActions({void onCopy(String)?, void onLanguageChanged(String language)?})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onCopy → (void Function(String)?)
Callback for when the user taps on the "Copy" action.
final
onLanguageChanged → (void Function(String language)?)
Callback for when the language has changed.
final
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