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: The getter 'toggleableActiveColor' isn't defined for the class 'ThemeData'. - 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('/D:/flutter/packages/flutter/lib/src/material/theme_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'toggleableActiveColor'. #2423

Open
1 task done
tiendev2003 opened this issue Jan 1, 2025 · 2 comments
Labels
awaiting response Pending additional information or feedback from the issue creator question Further information is requested

Comments

@tiendev2003
Copy link

Is there an existing issue for this?

The question

/C:/Users/ADMIN/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_quill-2.0.7/lib/src/widgets/toolbar/select_header_style_button.dart:85:29: Error: The getter 'toggleableActiveColor' isn't defined for the class 'ThemeData'.

  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('/D:/flutter/packages/flutter/lib/src/material/theme_data.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'toggleableActiveColor'.
    theme.toggleable
@tiendev2003 tiendev2003 added the question Further information is requested label Jan 1, 2025
@realth000
Copy link
Contributor

Maybe you are using a very old version?

pub.dev/flutter_quill-2.0.7

Sometimes flutter pub add resolves an outdated version, i dont know why.

Try use the 10.x version instead.

@EchoEllet
Copy link
Collaborator

It seems you're using an outdated version of flutter_quill.

Could you run flutter pub upgrade --major-versions, which will update all dependencies, including transitive dependencies.

@EchoEllet EchoEllet added the awaiting response Pending additional information or feedback from the issue creator label Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response Pending additional information or feedback from the issue creator question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants