Skip to content

[BUG] Error: The getter 'headline1' isn't defined for the class 'TextTheme'. after upgrading to Flutter 3.22 #1422

@michalsrutek

Description

@michalsrutek

Describe the bug:

Upon upgrading Flutter to 3.22, we're getting

flutter_html-3.0.0-alpha.6/lib/style.dart:253:51: Error: The getter 'headline1' isn't defined for the
class 'TextTheme'.

as it has been deprecated for a long time and finally removed in this release.

Expected behavior:

No build errors.

Stacktrace/Logcat

flutter_html-3.0.0-alpha.6/lib/style.dart:253:51: Error: The getter 'headline1' isn't defined for the
class 'TextTheme'.
Screenshot 2024-05-14 at 6 33 18

A picture of a cute animal (not mandatory but encouraged)

Screenshot 2024-05-14 at 6 33 51

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions