maybeWhen<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>(
  1. TResult $default(
    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
    )?,
  2. {TResult displayLarge(
    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
    )?,
  3. TResult displayMedium(
    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
    )?,
  4. TResult displaySmall(
    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
    )?,
  5. TResult headlineLarge(
    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
    )?,
  6. TResult headlineMedium(
    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
    )?,
  7. TResult headlineSmall(
    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
    )?,
  8. TResult bodyLarge(
    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
    )?,
  9. TResult bodyMedium(
    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
    )?,
  10. TResult bodySmall(
    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
    )?,
  11. TResult titleLarge(
    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
    )?,
  12. TResult titleMedium(
    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
    )?,
  13. TResult titleSmall(
    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
    )?,
  14. TResult 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
    )?,
  15. TResult labelMedium(
    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
    )?,
  16. TResult labelSmall(
    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
    )?,
  17. required TResult orElse(
      )}
    )
    @optionalTypeArgs, inherited

    Implementation

    @optionalTypeArgs
    TResult maybeWhen<TResult extends Object?>(
      TResult Function(
              bool inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          $default, {
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          displayLarge,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          displayMedium,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          displaySmall,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          headlineLarge,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          headlineMedium,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          headlineSmall,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          bodyLarge,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          bodyMedium,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          bodySmall,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          titleLarge,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          titleMedium,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          titleSmall,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          labelLarge,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          labelMedium,
      TResult Function(
              bool? inherit,
              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,
              String? package,
              TextOverflow? overflow)?
          labelSmall,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;