CodeLineRenderParagraph class
Constructors
- CodeLineRenderParagraph({required int index, required IParagraph paragraph, required Offset offset, required bool chunkParent})
-
const
Properties
- bottom → double
-
no setter
- chunkParent → bool
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double
-
no setter
- index → int
-
final
- length → int
-
no setter
- offset → Offset
-
final
- paragraph → IParagraph
-
final
- preferredLineHeight → double
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top → double
-
no setter
- width → double
-
no setter
Methods
-
copyWith(
{int? index, IParagraph? paragraph, Offset? offset, bool? chunkParent}) → CodeLineRenderParagraph -
draw(
Canvas canvas, Offset offset) → void -
getOffset(
TextPosition position) → Offset? -
getPosition(
Offset offset) → CodeLinePosition -
getRangeForSpan(
InlineSpan span) → TextRange -
getRangeRects(
TextRange range) → List< Rect> -
getSpanForPosition(
Offset offset) → InlineSpan? -
getWord(
Offset offset) → CodeLineRange -
inVerticalRange(
Offset coordinate) → bool -
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.
override