FlutterTextStyle class
- Implemented types
- Annotations
Constructors
-
FlutterTextStyle({bool? inherit, FlutterColor? color, FlutterColor? backgroundColor, double? fontSize, FlutterFontWeight? fontWeight, FlutterFontStyle? fontStyle, double? letterSpacing, double? wordSpacing, FlutterTextBaseline? textBaseline, double? height, FlutterTextLeadingDistribution? leadingDistribution, FlutterLocale? locale, @cListN List<
FlutterShadow> ? shadows, List<FlutterFontFeature> ? fontFeatures, FlutterTextDecoration? decoration, FlutterColor? decorationColor, FlutterTextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String> ? fontFamilyFallback, String? package, FlutterTextOverflow? overflow}) -
factory
-
FlutterTextStyle.fromJson(Map<
String, dynamic> json) -
factory
Properties
- backgroundColor → FlutterColor?
-
no setterinherited
- color → FlutterColor?
-
no setterinherited
- debugLabel → String?
-
no setterinherited
- decoration → FlutterTextDecoration?
-
no setterinherited
- decorationColor → FlutterColor?
-
no setterinherited
- decorationStyle → FlutterTextDecorationStyle?
-
no setterinherited
- decorationThickness → double?
-
no setterinherited
- fontFamily → String?
-
no setterinherited
-
fontFamilyFallback
→ List<
String> ? -
no setterinherited
-
fontFeatures
→ List<
FlutterFontFeature> ? -
no setterinherited
- fontSize → double?
-
no setterinherited
- fontStyle → FlutterFontStyle?
-
no setterinherited
- fontWeight → FlutterFontWeight?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
no setterinherited
- inherit → bool?
-
no setterinherited
- leadingDistribution → FlutterTextLeadingDistribution?
-
no setterinherited
- letterSpacing → double?
-
no setterinherited
- locale → FlutterLocale?
-
no setterinherited
- overflow → FlutterTextOverflow?
-
no setterinherited
- package → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shadows
→ List<
FlutterShadow> ? -
no setterinherited
- textBaseline → FlutterTextBaseline?
-
no setterinherited
- wordSpacing → double?
-
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_FlutterTextStyle value)) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFlutter(
AnyWidgetContext context) → TextStyle -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited