We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d890115 commit 754cb24Copy full SHA for 754cb24
lib/style.dart
@@ -214,7 +214,7 @@ class Style {
214
}
215
216
217
- static Map<String, Style> getFromThemeData(ThemeData theme) => {
+ static Map<String, Style> fromThemeData(ThemeData theme) => {
218
'h1': Style.fromTextStyle(theme.textTheme.headline1!),
219
'h2': Style.fromTextStyle(theme.textTheme.headline2!),
220
'h3': Style.fromTextStyle(theme.textTheme.headline3!),
0 commit comments