WxTextTile class

Inheritance

Constructors

WxTextTile({Key? key, double? spacing, EdgeInsetsGeometry? margin, TextAlign? align, Color? color, TextOverflow? overflow, bool? softWrap, TextWidthBasis? widthBasis, TextStyle? titleStyle, Color? titleColor, FontWeight? titleWeight, double? titleSize, int? titleMaxLines, TextStyle? subtitleStyle, Color? subtitleColor, FontWeight? subtitleWeight, double? subtitleSize, int? subtitleMaxLines, WxTextTileStyle? style, required Widget title, Widget? subtitle})
const

Properties

align TextAlign?
How the title and subtitle should be placed along the cross axis.
final
color Color?
The text color to be applied to title and subtitle.
final
effectiveStyle WxTextTileStyle
no setter
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
margin EdgeInsetsGeometry?
Outer space around the widget.
final
overflow TextOverflow?
The text overflow to be applied to title and subtitle.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
softWrap bool?
The text softWrap to be applied to title and subtitle.
final
spacing double?
The gap between the title and the subtitle widgets.
final
style WxTextTileStyle?
The style to be applied
final
subtitle Widget?
Additional content displayed below the title.
final
subtitleColor Color?
The text color to be applied to subtitle.
final
subtitleMaxLines int?
The text max lines to be applied to subtitle.
final
subtitleSize double?
The font size to be applied to subtitle.
final
subtitleStyle TextStyle?
The text style to be applied to subtitle.
final
subtitleWeight FontWeight?
The font weight to be applied to subtitle.
final
title Widget
The primary content
final
titleColor Color?
The text color to be applied to title.
final
titleMaxLines int?
The text max lines to be applied to title.
final
titleSize double?
The font size to be applied to title.
final
titleStyle TextStyle?
The text style to be applied to title.
final
titleWeight FontWeight?
The font weight to be applied to title.
final
widthBasis TextWidthBasis?
The text width basis to be applied to title and subtitle.
final

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.
override
getAlign(BuildContext context) CrossAxisAlignment
CrossAxisAlignment from align
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