LabelLarge constructor Null safety

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

Implementation

const factory LabelLarge(
    {final bool? inherit,
    final Color? color,
    final Color? backgroundColor,
    final double? fontSize,
    final FontWeight? fontWeight,
    final FontStyle? fontStyle,
    final double? letterSpacing,
    final double? wordSpacing,
    final TextBaseline? textBaseline,
    final double? height,
    final TextLeadingDistribution? leadingDistribution,
    final Locale? locale,
    final Paint? foreground,
    final Paint? background,
    final List<Shadow>? shadows,
    final List<FontFeature>? fontFeatures,
    final List<FontVariation>? fontVariations,
    final TextDecoration? decoration,
    final Color? decorationColor,
    final TextDecorationStyle? decorationStyle,
    final double? decorationThickness,
    final String? debugLabel,
    final String? fontFamily,
    final List<String>? fontFamilyFallback,
    final String? package,
    final TextOverflow? overflow}) = _$LabelLarge;