TxtConfig<T extends TxtConfig<T, IN, OUT>, IN extends TxtConfigIN<IN, OUT>, OUT extends TxtConfigOUT<OUT, IN>> mixin

Txt ~ Text and TextStyle configuration class.

Superclass Constraints
Mixin Applications

Properties

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

Methods

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

Operators

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