CustomText class

Inheritance

Constructors

CustomText.appbarText(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})
CustomText.bodyText1(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})
CustomText.bodyText2(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})
CustomText.buttonText(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})
CustomText.drawerText(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})
CustomText.heading(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})
CustomText.headingLarge(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})
CustomText.headingSmall(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})
CustomText.settingsText(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})
CustomText.smallText(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})
CustomText.textFieldHeading(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})
CustomText.textFieldHint(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})
CustomText.textFieldText(String text, {Key? key, TextStyle? style, double? fontSize, double increamentFontSize = 0, FontStyle? fontStyle, FontWeight? fontWeight, String? fontFamily, Color? color, Color? backgroundColor, double? height, int? maxLines, TextOverflow? overflow, TextDirection? textDirection, TextAlign? textAlign, TextDecoration? decoration, double? decorationThickness, TextDecorationStyle? decorationStyle, Paint? backgroundPaint, Paint? foregroundPaint, String? debugLabel, bool? inherit, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextLeadingDistribution? leadingDistribution, double? letterSpacing, Locale? locale, String? package, List<Shadow>? shadows, TextBaseline? textBaseline, double? wordSpacing})

Properties

backgroundColor Color?
getter/setter pair
backgroundPaint Paint?
getter/setter pair
color Color?
getter/setter pair
debugLabel String?
getter/setter pair
decoration TextDecoration?
getter/setter pair
decorationStyle TextDecorationStyle?
getter/setter pair
decorationThickness double?
getter/setter pair
fontFamily String?
getter/setter pair
fontFamilyFallback List<String>?
getter/setter pair
fontFeatures List<FontFeature>?
getter/setter pair
fontSize double?
getter/setter pair
fontStyle FontStyle?
getter/setter pair
fontVariations List<FontVariation>?
getter/setter pair
fontWeight FontWeight?
getter/setter pair
foregroundPaint Paint?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double?
getter/setter pair
increamentFontSize double
final
inherit bool?
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leadingDistribution TextLeadingDistribution?
getter/setter pair
letterSpacing double?
getter/setter pair
locale Locale?
getter/setter pair
maxLines int?
getter/setter pair
overflow TextOverflow?
getter/setter pair
package String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadows List<Shadow>?
getter/setter pair
style TextStyle
getter/setter pair
text String
getter/setter pair
textAlign TextAlign?
getter/setter pair
textBaseline TextBaseline?
getter/setter pair
textDirection TextDirection?
getter/setter pair
wordSpacing double?
getter/setter pair

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
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