GutterContext class

GutterContext provides context to a GutterFunc.

Constructors

GutterContext({required int index, required int totalLines, required bool soft})

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
Index is the line index of the line which the gutter is being rendered for.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
soft bool
Soft is whether or not the line is soft wrapped.
final
totalLines int
TotalLines is the total number of lines in the viewport.
final

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