TextExtend class

Inheritance
Available Extensions

Constructors

TextExtend(String data, {ValueChanged<bool>? onHover, bool enabledOnHover = true, TextStyle? style, TextStyle? onHoverStyle, bool isSelectable = false, Widget? suffix, Widget? prefix, Widget? onHoverSuffix, Widget? onHoverPrefix, double? width, double? height, BuildCustomChild? buildCustomChild, WrapperChild? wrapperChild, MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start, MainAxisSize mainAxisSize = MainAxisSize.max, CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center, TextDirection? textDirection, VerticalDirection verticalDirection = VerticalDirection.down, TextBaseline? textBaseline, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, Color? color, Decoration? decoration, Decoration? foregroundDecoration, BoxConstraints? constraints, EdgeInsetsGeometry? margin, Matrix4? transform, AlignmentGeometry? transformAlignment, AlignmentGeometry? onHoverAlignment, EdgeInsetsGeometry? onHoverPadding, Color? onHoverColor, Decoration? onHoverDecoration, Decoration? onHoverForegroundDecoration, BoxConstraints? onHoverConstraints, EdgeInsetsGeometry? onHoverMargin, Matrix4? onHoverTransform, AlignmentGeometry? onHoverTransformAlignment, GestureTapCallback? onTap, GestureTapDownCallback? onTapDown, GestureTapUpCallback? onTapUp, GestureTapCallback? onTapCancel, GestureTapCallback? onDoubleTap, GestureLongPressCallback? onLongPress, GestureTapCallback? onSecondaryTap, GestureTapDownCallback? onSecondaryTapDown, GestureTapUpCallback? onSecondaryTapUp, GestureTapCallback? onSecondaryTapCancel, ValueChanged<bool>? onHighlightChanged, MouseCursor? mouseCursor, bool containedInkWell = false, BoxShape highlightShape = BoxShape.circle, double? radius, BorderRadius? borderRadius, ShapeBorder? customBorder, Color? focusColor, Color? hoverColor, Color? highlightColor, MaterialStateProperty<Color?>? overlayColor, Color? splashColor, InteractiveInkFeatureFactory? splashFactory, bool enableFeedback = true, bool excludeFromSemantics = false, FocusNode? focusNode, bool canRequestFocus = true, ValueChanged<bool>? onFocusChange, bool autofocus = false, Key? key})
const

Properties

alignment AlignmentGeometry?
final
autofocus bool
final
borderRadius BorderRadius?
final
buildCustomChild BuildCustomChild?
final
canRequestFocus bool
final
color Color?
final
constraints BoxConstraints?
final
containedInkWell bool
final
crossAxisAlignment CrossAxisAlignment
final
customBorder ShapeBorder?
final
data String
final
decoration Decoration?
final
enabledOnHover bool
final
enableFeedback bool
final
excludeFromSemantics bool
final
focusColor Color?
final
focusNode FocusNode?
final
foregroundDecoration Decoration?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
highlightColor Color?
final
highlightShape BoxShape
final
hoverColor Color?
final
isSelectable bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
mainAxisAlignment MainAxisAlignment
final
mainAxisSize MainAxisSize
final
margin EdgeInsetsGeometry?
final
mouseCursor MouseCursor?
final
onDoubleTap GestureTapCallback?
final
onFocusChange ValueChanged<bool>?
final
onHighlightChanged ValueChanged<bool>?
final
onHover ValueChanged<bool>?
final
onHoverAlignment AlignmentGeometry?
final
onHoverColor Color?
final
onHoverConstraints BoxConstraints?
final
onHoverDecoration Decoration?
final
onHoverForegroundDecoration Decoration?
final
onHoverMargin EdgeInsetsGeometry?
final
onHoverPadding EdgeInsetsGeometry?
final
onHoverPrefix Widget?
final
onHoverStyle TextStyle?
final
onHoverSuffix Widget?
final
onHoverTransform Matrix4?
final
onHoverTransformAlignment AlignmentGeometry?
final
onLongPress GestureLongPressCallback?
final
onSecondaryTap GestureTapCallback?
final
onSecondaryTapCancel GestureTapCallback?
final
onSecondaryTapDown GestureTapDownCallback?
final
onSecondaryTapUp GestureTapUpCallback?
final
onTap GestureTapCallback?
final
onTapCancel GestureTapCallback?
final
onTapDown GestureTapDownCallback?
final
onTapUp GestureTapUpCallback?
final
overlayColor MaterialStateProperty<Color?>?
final
padding EdgeInsetsGeometry?
final
prefix Widget?
final
radius double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
splashColor Color?
final
splashFactory InteractiveInkFeatureFactory?
final
style TextStyle?
final
suffix Widget?
final
textBaseline TextBaseline?
final
textDirection TextDirection?
final
transform Matrix4?
final
transformAlignment AlignmentGeometry?
final
verticalDirection VerticalDirection
final
width double?
final
wrapperChild WrapperChild?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<TextExtend>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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