displaySmall method

Text displaySmall({
  1. Color? color,
  2. FontWeight? fontWeight,
  3. double? fontSize,
  4. String? fontFamily,
  5. double? letterSpacing,
  6. double? height,
  7. double? wordSpacing,
  8. TextOverflow? overflow,
  9. TextBaseline? textBaseline,
  10. List<Shadow>? shadows,
  11. Paint? background,
  12. Color? backgroundColor,
  13. String? debugLabel,
  14. TextDecoration? decoration,
  15. Color? decorationColor,
  16. TextDecorationStyle? decorationStyle,
  17. double? decorationThickness,
  18. List<String>? fontFamilyFallback,
  19. List<FontFeature>? fontFeatures,
  20. FontStyle? fontStyle,
  21. Paint? foreground,
  22. bool? inherit,
  23. TextLeadingDistribution? leadingDistribution,
  24. Locale? locale,
  25. String? package,
})

Implementation

Text displaySmall({
  final Color? color,
  final FontWeight? fontWeight,
  final double? fontSize,
  final String? fontFamily,
  final double? letterSpacing,
  final double? height,
  final double? wordSpacing,
  final TextOverflow? overflow,
  final TextBaseline? textBaseline,
  final List<Shadow>? shadows,
  final Paint? background,
  final Color? backgroundColor,
  final String? debugLabel,
  final TextDecoration? decoration,
  final Color? decorationColor,
  final TextDecorationStyle? decorationStyle,
  final double? decorationThickness,
  final List<String>? fontFamilyFallback,
  final List<FontFeature>? fontFeatures,
  final FontStyle? fontStyle,
  final Paint? foreground,
  final bool? inherit,
  final TextLeadingDistribution? leadingDistribution,
  final Locale? locale,
  final String? package,
}) =>
    Text(
      data ?? "",
      textAlign: textAlign,
      textDirection: textDirection,
      maxLines: maxLines,
      key: key,
      locale: locale,
      overflow: overflow,
      semanticsLabel: semanticsLabel,
      softWrap: softWrap,
      strutStyle: strutStyle,
      textHeightBehavior: textHeightBehavior,
      textScaleFactor: textScaleFactor,
      textWidthBasis: textWidthBasis,
      style: context.textTheme.displaySmall!.copyWith(
        package: package,
        locale: locale,
        leadingDistribution: leadingDistribution,
        inherit: inherit,
        foreground: foreground,
        fontStyle: fontStyle,
        fontFeatures: fontFeatures,
        fontFamilyFallback: fontFamilyFallback,
        decorationThickness: decorationThickness,
        decorationColor: decorationColor,
        decorationStyle: decorationStyle,
        decoration: decoration,
        debugLabel: debugLabel,
        backgroundColor: backgroundColor,
        background: background,
        color: color,
        fontWeight: fontWeight,
        fontSize: fontSize,
        fontFamily: fontFamily,
        letterSpacing: letterSpacing,
        height: height,
        wordSpacing: wordSpacing,
        overflow: overflow,
        textBaseline: textBaseline,
        shadows: shadows,
      ),
    );