CrampedText class final

Text that sits too close to the hand-drawn line around it, found by crampedText.

Constructors

CrampedText(String text, Rect border, EdgeInsets gaps, String owner)
Describes text at gaps from the border that owner drew.
const

Properties

border → Rect
The hand-drawn border around it, in global coordinates.
final
gaps → EdgeInsets
The space between the text's glyphs and each side of border.
final
hashCode → int
The hash code for this object.
no setterinherited
owner → String
The skribble widget that drew border.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
The text, shortened.
final

Methods

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

Operators

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