TextStyle class
An opaque object that determines the size, position, and rendering of text.
See also:
Constructors
- TextStyle({Color? color, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, FontWeight? fontWeight, FontStyle? fontStyle, TextBaseline? textBaseline, String? fontFamily, List<
String> ? fontFamilyFallback, double? fontSize, double? letterSpacing, double? wordSpacing, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? background, Paint? foreground, List<Shadow> ? shadows, List<FontFeature> ? fontFeatures, List<FontVariation> ? fontVariations}) - Creates a new TextStyle object.
Properties
- hashCode → int
- The hash code for this object.no setteroverride
- 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.override
Operators
- operator ==(
Object other) → bool - The equality operator.override