mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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:
parent
2c71881f50
commit
c51aa3d2de
@ -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].
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user