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