Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error (Xcode): lib/app_theme.dart:23:5: Error: No named parameter with the name 'headline4'. #112

Open
admin-fyang opened this issue Jan 2, 2025 · 1 comment

Comments

@admin-fyang
Copy link

file lib/app_theme.dart

static const TextTheme textTheme = TextTheme(
headline4: display1,
headline5: headline,
headline6: title,
subtitle2: subtitle,
bodyText2: body2,
bodyText1: body1,
caption: caption,
);

截屏2025-01-02 10 30 49

Error (Xcode): lib/app_theme.dart:23:5: Error: No named parameter with the name 'headline4'.

@zuwenjiang
Copy link

Yes, I've encountered the same problem. It might be caused by the version change of Flutter. Could the author please update it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants