TextGetter extension
Retrieves the DiagnosticsProperty of the matched widget with propName
of type T
- on
Methods
-
getLocale(
) → Locale - Returns the locale of the matched Text via Widget.toDiagnosticsNode
-
getMaxLines(
) → int - Returns the maxLines of the matched Text via Widget.toDiagnosticsNode
-
getOverflow(
) → TextOverflow - Returns the overflow of the matched Text via Widget.toDiagnosticsNode
-
getSoftWrap(
) → bool - Returns the softWrap of the matched Text via Widget.toDiagnosticsNode
-
getText(
) → String - Returns the text of the matched Text via Widget.toDiagnosticsNode
-
getTextAlign(
) → TextAlign - Returns the textAlign of the matched Text via Widget.toDiagnosticsNode
-
getTextDirection(
) → TextDirection - Returns the textDirection of the matched Text via Widget.toDiagnosticsNode
-
getTextHeightBehavior(
) → TextHeightBehavior - Returns the textHeightBehavior of the matched Text via Widget.toDiagnosticsNode
-
getTextScaleFactor(
) → double - Returns the textScaleFactor of the matched Text via Widget.toDiagnosticsNode
-
getTextWidthBasis(
) → TextWidthBasis - Returns the textWidthBasis of the matched Text via Widget.toDiagnosticsNode