TextStyleExtension extension

on

Methods

fallback({Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, List<FontVariation>? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, String? debugLabel, String? fontFamily, List<String>? fontFamilyFallback, TextOverflow? overflow}) TextStyle

Available on TextStyle, provided by the TextStyleExtension extension

Returns a new TextStyle where any null property is replaced by the corresponding property if passed as a parameter. If both are null, the property remains null.