JJText class

Inheritance
Implemented types
Available extensions

Constructors

JJText(String data, {Key? key, TextStyle? style, StrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior, double? richWidth, double? richHeight, Clip textClipBehavior = Clip.none, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, Color? color, Decoration? decoration, Decoration? foregroundDecoration, double? width, double? height, BoxConstraints? constraints, EdgeInsetsGeometry? margin, Matrix4? transform, AlignmentGeometry? transformAlignment, Widget? child, Clip clipBehavior = Clip.none, int tag = 0, bool isSelected = false, bool enabled = true, void onTap()?})

Properties

alignment ↔ AlignmentGeometry?
getter/setter pairoverride
child ↔ Widget?
getter/setter pairoverride
clipBehavior ↔ Clip
getter/setter pairoverride
color ↔ Color?
getter/setter pairoverride
constraints ↔ BoxConstraints?
getter/setter pairoverride
data → String
final
decoration ↔ Decoration?
getter/setter pairoverride
enabled ↔ bool
getter/setter pairoverride
foregroundDecoration ↔ Decoration?
getter/setter pairoverride
hashCode → int
The hash code for this object.
no setterinherited
height ↔ double?
getter/setter pairoverride
isSelected ↔ bool
getter/setter pairoverride
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
locale → Locale?
final
margin ↔ EdgeInsetsGeometry?
getter/setter pairoverride
maxLines → int?
final
onTap ↔ void Function()?
getter/setter pairoverride
overflow → TextOverflow?
final
padding ↔ EdgeInsetsGeometry?
getter/setter pairoverride
richHeight → double?
final
richWidth → double?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
semanticsLabel → String?
final
softWrap → bool?
final
strutStyle → StrutStyle?
final
style → TextStyle?
final
tag ↔ int
getter/setter pairoverride
textAlign → TextAlign?
final
textClipBehavior → Clip
final
textDirection → TextDirection?
final
textHeightBehavior → TextHeightBehavior?
final
textScaleFactor → double?
final
textWidthBasis → TextWidthBasis?
final
transform ↔ Matrix4?
getter/setter pairoverride
transformAlignment ↔ AlignmentGeometry?
getter/setter pairoverride
width ↔ double?
getter/setter pairoverride

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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
removeAllPadding(BuildContext context) → dynamic

Available on Widget, provided by the WidgetExtension extension

removePadding(BuildContext context, {bool removeLeft = false, bool removeTop = false, bool removeRight = false, bool removeBottom = false}) → dynamic

Available on Widget, provided by the WidgetExtension extension

showAsDialog(BuildContext context, {bool barrierDismissible = true, Color? barrierColor}) → dynamic

Available on Widget, provided by the WidgetExtension extension

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, int wrapWidth = 65}) → 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