NapaTextStyle class
Constructors
-
NapaTextStyle({bool inherit = true, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, NapaPaint? foreground, NapaPaint? background, List<
Shadow> ? shadows, List<FontFeature> ? fontFeatures, List<FontVariation> ? fontVariations, List<NapaTextDecoration> ? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String> ? fontFamilyFallback, String? package, TextOverflow? overflow})
Properties
- background ↔ NapaPaint?
-
getter/setter pair
- backgroundColor ↔ Color?
-
getter/setter pair
- color ↔ Color?
-
getter/setter pair
- debugLabel ↔ String?
-
getter/setter pair
-
decoration
↔ List<
NapaTextDecoration> ? -
getter/setter pair
- decorationColor ↔ Color?
-
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
- foreground ↔ NapaPaint?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double?
-
getter/setter pair
- inherit ↔ bool
-
getter/setter pair
- leadingDistribution ↔ TextLeadingDistribution?
-
getter/setter pair
- letterSpacing ↔ double?
-
getter/setter pair
- locale ↔ Locale?
-
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
- textBaseline ↔ TextBaseline?
-
getter/setter pair
- textStyle → TextStyle
-
no setter
- wordSpacing ↔ double?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
decode(
dynamic data) → NapaTextStyle?