Skip to content

Commit c51aa3d

Browse files
authored
Update ThemeData's factory method documents (#123984)
Catch up document. As Material 3 actually use a purple theme. https://github.com/flutter/flutter/blob/d8cbaf62615497fdb1e51167d0eb306a2d7b7bcf/packages/flutter/lib/src/material/theme_data.dart#L2777-L2856
1 parent 2c71881 commit c51aa3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/flutter/lib/src/material/theme_data.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ class ThemeData with Diagnosticable {
850850
);
851851
}
852852

853-
/// A default light blue theme.
853+
/// A default light theme.
854854
///
855855
/// This theme does not contain text geometry. Instead, it is expected that
856856
/// this theme is localized using text geometry using [ThemeData.localize].
@@ -859,7 +859,7 @@ class ThemeData with Diagnosticable {
859859
useMaterial3: useMaterial3,
860860
);
861861

862-
/// A default dark theme with a teal secondary [ColorScheme] color.
862+
/// A default dark theme.
863863
///
864864
/// This theme does not contain text geometry. Instead, it is expected that
865865
/// this theme is localized using text geometry using [ThemeData.localize].

0 commit comments

Comments
 (0)