discontinuedPackage responsive_styled_widget has been discontinued and replaced by animated_styled_widget.

DynamicTextStyle class

Constructors

DynamicTextStyle({Color? color, Color? backgroundColor, Dimension? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, Dimension? letterSpacing, Dimension? wordSpacing, double? height, List<Shadow>? shadows, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? fontFamily})
const

Properties

backgroundColor → Color?
final
color → Color?
final
decoration → TextDecoration?
final
decorationColor → Color?
final
decorationStyle → TextDecorationStyle?
final
decorationThickness → double?
final
fontFamily → String?
final
fontSize → Dimension?
final
fontStyle → FontStyle?
final
fontWeight → FontWeight?
final
hashCode → int
The hash code for this object.
no setterinherited
height → double?
final
letterSpacing → Dimension?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadows → List<Shadow>?
final
wordSpacing → Dimension?
final

Methods

copyWith({Color? color, Color? backgroundColor, String? fontFamily, Dimension? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, Dimension? letterSpacing, Dimension? wordSpacing, double? height, Paint? foreground, Paint? background, List<Shadow>? shadows, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness}) → DynamicTextStyle
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited
toTextStyle({required Size screenSize, required double parentFontSize, double constraintWidth = 100}) → TextStyle

Operators

operator ==(Object other) → bool
The equality operator.
inherited