mapOrNull<TResult extends Object?> method
Null safety
- TResult? $default(
- _TextStyle value
- {TResult? displayLarge(
- DisplayLarge value
- TResult? displayMedium(
- DisplayMedium value
- TResult? displaySmall(
- DisplaySmall value
- TResult? headlineLarge(
- HeadlineLarge value
- TResult? headlineMedium(
- HeadlineMedium value
- TResult? headlineSmall(
- HeadlineSmall value
- TResult? bodyLarge(
- BodyLarge value
- TResult? bodyMedium(
- BodyMedium value
- TResult? bodySmall(
- BodySmall value
- TResult? titleLarge(
- TitleLarge value
- TResult? titleMedium(
- TitleMedium value
- TResult? titleSmall(
- TitleSmall value
- TResult? labelLarge(
- LabelLarge value
- TResult? labelMedium(
- LabelMedium value
- TResult? labelSmall(
- LabelSmall value
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
TResult? Function(_TextStyle value)? $default, {
TResult? Function(DisplayLarge value)? displayLarge,
TResult? Function(DisplayMedium value)? displayMedium,
TResult? Function(DisplaySmall value)? displaySmall,
TResult? Function(HeadlineLarge value)? headlineLarge,
TResult? Function(HeadlineMedium value)? headlineMedium,
TResult? Function(HeadlineSmall value)? headlineSmall,
TResult? Function(BodyLarge value)? bodyLarge,
TResult? Function(BodyMedium value)? bodyMedium,
TResult? Function(BodySmall value)? bodySmall,
TResult? Function(TitleLarge value)? titleLarge,
TResult? Function(TitleMedium value)? titleMedium,
TResult? Function(TitleSmall value)? titleSmall,
TResult? Function(LabelLarge value)? labelLarge,
TResult? Function(LabelMedium value)? labelMedium,
TResult? Function(LabelSmall value)? labelSmall,
}) =>
throw _privateConstructorUsedError;