Update ThemeData's factory method documents (#123984)

Catch up document. As Material 3 actually use a purple theme.

d8cbaf6261/packages/flutter/lib/src/material/theme_data.dart (L2777-L2856)
This commit is contained in:
LiangXiang Shen 2023-08-02 11:42:06 +08:00 committed by GitHub
parent 2c71881f50
commit c51aa3d2de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -850,7 +850,7 @@ class ThemeData with Diagnosticable {
);
}
/// A default light blue theme.
/// A default light theme.
///
/// This theme does not contain text geometry. Instead, it is expected that
/// this theme is localized using text geometry using [ThemeData.localize].
@ -859,7 +859,7 @@ class ThemeData with Diagnosticable {
useMaterial3: useMaterial3,
);
/// A default dark theme with a teal secondary [ColorScheme] color.
/// A default dark theme.
///
/// This theme does not contain text geometry. Instead, it is expected that
/// this theme is localized using text geometry using [ThemeData.localize].