TGText class
TGFramework's Text related implementation based on various styles of TextTheme
Constructors
- TGText()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
bodyLarge(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "bodyLarge" style text
-
bodyMedium(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "bodyMedium" style text
-
bodySmall(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "bodySmall" style text
-
displayLarge(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "displayLarge" style text
-
displayMedium(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "displayMedium" style text
-
displaySmall(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "displaySmall" style text
-
headlineLarge(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "headlineLarge" style text
-
headlineMedium(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "headlineMedium" style text
-
headlineSmall(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "headlineSmall" style text
-
labelLarge(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "labelLarge" style text
-
labelMedium(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "labelMedium" style text
-
labelSmall(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "labelSmall" style text
-
titleLarge(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "titleLarge" style text
-
titleMedium(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "titleMedium" style text
-
titleSmall(
String text, {Color? color, FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "titleSmall" style text
-
withStyle(
String text, TextStyle textStyle, {FontWeight? fontWeight, TextAlign textAlign = TextAlign.start, TextOverflow? overflow, int? maxLine}) → Text - "custom" style text