@@ -14,6 +14,8 @@ import 'color_scheme.dart';
1414import 'colors.dart' ;
1515import 'text_theme.dart' ;
1616
17+ part 'generated/typography_defaults_m3.g.dart' ;
18+
1719// Examples can assume:
1820// late TargetPlatform platform;
1921
@@ -2083,70 +2085,3 @@ class Typography with Diagnosticable {
20832085 /// so this is just here to be consistent with the API.
20842086 static const TextTheme tall2021 = _M3Typography .tall;
20852087}
2086-
2087- // BEGIN GENERATED TOKEN PROPERTIES - Typography
2088-
2089- // Do not edit by hand. The code between the "BEGIN GENERATED" and
2090- // "END GENERATED" comments are generated from data in the Material
2091- // Design token database by the script:
2092- // dev/tools/gen_defaults/bin/gen_defaults.dart.
2093-
2094- // dart format off
2095- abstract final class _M3Typography {
2096- static const TextTheme englishLike = TextTheme (
2097- displayLarge: TextStyle (debugLabel: 'englishLike displayLarge 2021' , inherit: false , fontSize: 57.0 , fontWeight: FontWeight .w400, letterSpacing: - 0.25 , height: 1.12 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2098- displayMedium: TextStyle (debugLabel: 'englishLike displayMedium 2021' , inherit: false , fontSize: 45.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.16 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2099- displaySmall: TextStyle (debugLabel: 'englishLike displaySmall 2021' , inherit: false , fontSize: 36.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.22 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2100- headlineLarge: TextStyle (debugLabel: 'englishLike headlineLarge 2021' , inherit: false , fontSize: 32.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.25 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2101- headlineMedium: TextStyle (debugLabel: 'englishLike headlineMedium 2021' , inherit: false , fontSize: 28.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.29 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2102- headlineSmall: TextStyle (debugLabel: 'englishLike headlineSmall 2021' , inherit: false , fontSize: 24.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.33 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2103- titleLarge: TextStyle (debugLabel: 'englishLike titleLarge 2021' , inherit: false , fontSize: 22.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.27 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2104- titleMedium: TextStyle (debugLabel: 'englishLike titleMedium 2021' , inherit: false , fontSize: 16.0 , fontWeight: FontWeight .w500, letterSpacing: 0.15 , height: 1.50 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2105- titleSmall: TextStyle (debugLabel: 'englishLike titleSmall 2021' , inherit: false , fontSize: 14.0 , fontWeight: FontWeight .w500, letterSpacing: 0.1 , height: 1.43 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2106- labelLarge: TextStyle (debugLabel: 'englishLike labelLarge 2021' , inherit: false , fontSize: 14.0 , fontWeight: FontWeight .w500, letterSpacing: 0.1 , height: 1.43 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2107- labelMedium: TextStyle (debugLabel: 'englishLike labelMedium 2021' , inherit: false , fontSize: 12.0 , fontWeight: FontWeight .w500, letterSpacing: 0.5 , height: 1.33 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2108- labelSmall: TextStyle (debugLabel: 'englishLike labelSmall 2021' , inherit: false , fontSize: 11.0 , fontWeight: FontWeight .w500, letterSpacing: 0.5 , height: 1.45 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2109- bodyLarge: TextStyle (debugLabel: 'englishLike bodyLarge 2021' , inherit: false , fontSize: 16.0 , fontWeight: FontWeight .w400, letterSpacing: 0.5 , height: 1.50 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2110- bodyMedium: TextStyle (debugLabel: 'englishLike bodyMedium 2021' , inherit: false , fontSize: 14.0 , fontWeight: FontWeight .w400, letterSpacing: 0.25 , height: 1.43 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2111- bodySmall: TextStyle (debugLabel: 'englishLike bodySmall 2021' , inherit: false , fontSize: 12.0 , fontWeight: FontWeight .w400, letterSpacing: 0.4 , height: 1.33 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2112- );
2113-
2114- static const TextTheme dense = TextTheme (
2115- displayLarge: TextStyle (debugLabel: 'dense displayLarge 2021' , inherit: false , fontSize: 57.0 , fontWeight: FontWeight .w400, letterSpacing: - 0.25 , height: 1.12 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2116- displayMedium: TextStyle (debugLabel: 'dense displayMedium 2021' , inherit: false , fontSize: 45.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.16 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2117- displaySmall: TextStyle (debugLabel: 'dense displaySmall 2021' , inherit: false , fontSize: 36.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.22 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2118- headlineLarge: TextStyle (debugLabel: 'dense headlineLarge 2021' , inherit: false , fontSize: 32.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.25 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2119- headlineMedium: TextStyle (debugLabel: 'dense headlineMedium 2021' , inherit: false , fontSize: 28.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.29 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2120- headlineSmall: TextStyle (debugLabel: 'dense headlineSmall 2021' , inherit: false , fontSize: 24.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.33 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2121- titleLarge: TextStyle (debugLabel: 'dense titleLarge 2021' , inherit: false , fontSize: 22.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.27 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2122- titleMedium: TextStyle (debugLabel: 'dense titleMedium 2021' , inherit: false , fontSize: 16.0 , fontWeight: FontWeight .w500, letterSpacing: 0.15 , height: 1.50 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2123- titleSmall: TextStyle (debugLabel: 'dense titleSmall 2021' , inherit: false , fontSize: 14.0 , fontWeight: FontWeight .w500, letterSpacing: 0.1 , height: 1.43 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2124- labelLarge: TextStyle (debugLabel: 'dense labelLarge 2021' , inherit: false , fontSize: 14.0 , fontWeight: FontWeight .w500, letterSpacing: 0.1 , height: 1.43 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2125- labelMedium: TextStyle (debugLabel: 'dense labelMedium 2021' , inherit: false , fontSize: 12.0 , fontWeight: FontWeight .w500, letterSpacing: 0.5 , height: 1.33 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2126- labelSmall: TextStyle (debugLabel: 'dense labelSmall 2021' , inherit: false , fontSize: 11.0 , fontWeight: FontWeight .w500, letterSpacing: 0.5 , height: 1.45 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2127- bodyLarge: TextStyle (debugLabel: 'dense bodyLarge 2021' , inherit: false , fontSize: 16.0 , fontWeight: FontWeight .w400, letterSpacing: 0.5 , height: 1.50 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2128- bodyMedium: TextStyle (debugLabel: 'dense bodyMedium 2021' , inherit: false , fontSize: 14.0 , fontWeight: FontWeight .w400, letterSpacing: 0.25 , height: 1.43 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2129- bodySmall: TextStyle (debugLabel: 'dense bodySmall 2021' , inherit: false , fontSize: 12.0 , fontWeight: FontWeight .w400, letterSpacing: 0.4 , height: 1.33 , textBaseline: TextBaseline .ideographic, leadingDistribution: TextLeadingDistribution .even),
2130- );
2131-
2132- static const TextTheme tall = TextTheme (
2133- displayLarge: TextStyle (debugLabel: 'tall displayLarge 2021' , inherit: false , fontSize: 57.0 , fontWeight: FontWeight .w400, letterSpacing: - 0.25 , height: 1.12 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2134- displayMedium: TextStyle (debugLabel: 'tall displayMedium 2021' , inherit: false , fontSize: 45.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.16 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2135- displaySmall: TextStyle (debugLabel: 'tall displaySmall 2021' , inherit: false , fontSize: 36.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.22 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2136- headlineLarge: TextStyle (debugLabel: 'tall headlineLarge 2021' , inherit: false , fontSize: 32.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.25 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2137- headlineMedium: TextStyle (debugLabel: 'tall headlineMedium 2021' , inherit: false , fontSize: 28.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.29 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2138- headlineSmall: TextStyle (debugLabel: 'tall headlineSmall 2021' , inherit: false , fontSize: 24.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.33 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2139- titleLarge: TextStyle (debugLabel: 'tall titleLarge 2021' , inherit: false , fontSize: 22.0 , fontWeight: FontWeight .w400, letterSpacing: 0.0 , height: 1.27 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2140- titleMedium: TextStyle (debugLabel: 'tall titleMedium 2021' , inherit: false , fontSize: 16.0 , fontWeight: FontWeight .w500, letterSpacing: 0.15 , height: 1.50 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2141- titleSmall: TextStyle (debugLabel: 'tall titleSmall 2021' , inherit: false , fontSize: 14.0 , fontWeight: FontWeight .w500, letterSpacing: 0.1 , height: 1.43 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2142- labelLarge: TextStyle (debugLabel: 'tall labelLarge 2021' , inherit: false , fontSize: 14.0 , fontWeight: FontWeight .w500, letterSpacing: 0.1 , height: 1.43 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2143- labelMedium: TextStyle (debugLabel: 'tall labelMedium 2021' , inherit: false , fontSize: 12.0 , fontWeight: FontWeight .w500, letterSpacing: 0.5 , height: 1.33 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2144- labelSmall: TextStyle (debugLabel: 'tall labelSmall 2021' , inherit: false , fontSize: 11.0 , fontWeight: FontWeight .w500, letterSpacing: 0.5 , height: 1.45 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2145- bodyLarge: TextStyle (debugLabel: 'tall bodyLarge 2021' , inherit: false , fontSize: 16.0 , fontWeight: FontWeight .w400, letterSpacing: 0.5 , height: 1.50 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2146- bodyMedium: TextStyle (debugLabel: 'tall bodyMedium 2021' , inherit: false , fontSize: 14.0 , fontWeight: FontWeight .w400, letterSpacing: 0.25 , height: 1.43 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2147- bodySmall: TextStyle (debugLabel: 'tall bodySmall 2021' , inherit: false , fontSize: 12.0 , fontWeight: FontWeight .w400, letterSpacing: 0.4 , height: 1.33 , textBaseline: TextBaseline .alphabetic, leadingDistribution: TextLeadingDistribution .even),
2148- );
2149- }
2150- // dart format on
2151-
2152- // END GENERATED TOKEN PROPERTIES - Typography
0 commit comments