Txt class

Txt ~ TxtConfig final class

Inheritance
Mixed in types

Constructors

Txt({Key? key})

Properties

alignmentToCenter Txt
@shortcut ~ align to center
no setterinherited
alignmentToEnd Txt
@shortcut ~ align to bottom right corner
no setterinherited
alignmentToStart Txt
@shortcut ~ align to top left corner
no setterinherited
bold Txt
@shortcut ~ set font weight to bold
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
heightToInfinity Txt
@shortcut ~ expand height to maximum
no setterinherited
italics Txt
@shortcut ~ set font style to italics
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lineThrough Txt
@shortcut ~ add lineThrough to decorations
no setterinherited
overline Txt
@shortcut ~ add overline to decorations
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeToInfinity Txt
@shortcut ~ expand size to maximum
no setterinherited
underline Txt
@shortcut ~ add underline to decorations
no setterinherited
widthToInfinity Txt
@shortcut ~ expand width to maximum
no setterinherited

Methods

alignment(Alignment? alignment) Txt
@varies ~ set alignment
inherited
axis(Axis? axis) Txt
@fixed ~ set axis
inherited
call() TxtOUT
subclass should override this method to define the associated ConfigOUT. of the Call this method to get an instance of the associated ConfigOUT data.
inherited
child(Widget child) Txt
@fixed ~ set child
inherited
children(List<Widget>? children) Txt
@fixed ~ set children
inherited
clip(Clip? clip) Txt
@fixed ~ set clip behaviour
inherited
constraints(BoxConstraints? constraints) Txt
@varies ~ set box constraints
inherited
copy<Type>(Txt t) Txt
inherited
copyInkwell(InkwellConfig<InkwellConfig<dynamic, InkwellConfigIN, InkwellConfigOUT>, InkwellConfigIN, InkwellConfigOUT> inkwell) Txt
@config reference ~ copy inkwell
inherited
copyLayout(LayoutConfig<LayoutConfig<dynamic, LayoutConfigIN, LayoutConfigOUT>, LayoutConfigIN, LayoutConfigOUT> layout) Txt
@config reference ~ copy umbra
inherited
copyRadii(RadiiConfig<RadiiConfig<dynamic, RadiiConfigIN, RadiiConfigOUT>, RadiiConfigIN, RadiiConfigOUT> radii) Txt
@config reference ~ copy radii
inherited
createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createNew() Txt
override
createState() ConfigState<Txt, TxtIN, TxtOUT>
Creates the mutable state for this widget at a given 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
focusColor(Color color, [int? alpha]) Txt
@varies ~ set focus color
inherited
fontStyle(FontStyle? style) Txt
@fixed ~ set font style
inherited
fontWeight(FontWeight? weight) Txt
@fixed ~ set font weight
inherited
height(double height) Txt
@varies ~ set height
inherited
heightFactor(double factor) Txt
@varies ~ set height scale factor
inherited
highlightColor(Color color, [int? alpha]) Txt
@varies ~ set highlight color
inherited
hoverColor(Color color, [int? alpha]) Txt
@varies ~ set hover color
inherited
inkType(InkType type) Txt
@fixed ~ set Inkwell type
inherited
inline(List<Widget> children) Txt
@fixed ~ set text span children
inherited
margin(EdgeInsets? margin) Txt
@varies ~ set margin
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onLongPress(dynamic onLongPress()) Txt
@fixed ~ set long press callback
inherited
onTap(dynamic onTap()) Txt
@fixed ~ set tap callback
inherited
overlayColor(Color color, [int? alpha]) Txt
@varies ~ set overlay color
inherited
padding(EdgeInsets? padding) Txt
@varies ~ set padding
inherited
resolve<Type>(dynamic data, Symbol tag) Txt
inherited
roundBottom(double value) Txt
inherited
roundBottomLeft(double x, [double? y]) Txt
inherited
roundBottomLeftX(double value) Txt
inherited
roundBottomLeftY(double value) Txt
inherited
roundBottomRight(double x, [double? y]) Txt
inherited
roundBottomRightX(double value) Txt
inherited
roundBottomRightY(double value) Txt
inherited
roundLeft(double value) Txt
inherited
roundRight(double value) Txt
inherited
roundTop(double value) Txt
inherited
roundTopLeft(double x, [double? y]) Txt
inherited
roundTopLeftX(double value) Txt
inherited
roundTopLeftY(double value) Txt
inherited
roundTopRight(double x, [double? y]) Txt
inherited
roundTopRightX(double value) Txt
inherited
roundTopRightY(double value) Txt
inherited
size(double x, [double? y]) Txt
@varies ~ set size
inherited
splashColor(Color color, [int? alpha]) Txt
@varies ~ set splash color
inherited
text(String text) Txt
@fixed ~ set text
inherited
textAlign(TextAlign align) Txt
@fixed ~ set text align
inherited
textBackground(Color color) Txt
@varies ~ set text background
inherited
textBaseline(TextBaseline baseline) Txt
@fixed ~ set text baseline
inherited
textColor(Color color) Txt
@varies ~ set text color
inherited
textDecoration(TextDecoration decoration) Txt
@fixed ~ add text decoration
inherited
textDecorationColor(Color color) Txt
@fixed ~ add text decoration color
inherited
textDecorationThickness(double thickness) Txt
@fixed ~ add text decoration color
inherited
textLineCount(int count) Txt
@fixed ~ set text line count
inherited
textOverflow(TextOverflow? overflow) Txt
@fixed ~ set text overflow
inherited
textSize(double size) Txt
@varies ~ set text size
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
update(TxtIN change(TxtIN data)) Txt
inherited
width(double width) Txt
@varies ~ set width
inherited
widthFactor(double factor) Txt
@varies ~ set width scale factor
inherited

Operators

operator *(double operand) Txt
inherited
operator +(Txt operand) Txt
inherited
operator -(Txt operand) Txt
inherited
operator ==(Object other) bool
The equality operator.
inherited