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: toggleableActiveColor #70

Open
Viserion-stack opened this issue May 17, 2024 · 0 comments
Open

Error: toggleableActiveColor #70

Viserion-stack opened this issue May 17, 2024 · 0 comments

Comments

@Viserion-stack
Copy link

Hello, zefirka won't work with latest Flutter/Dart version.
ThemeData's toggleableActiveColor property has been deprecated

Here is output log:

../../../.pub-cache/hosted/pub.dev/zefyrka-1.6.0/lib/src/widgets/editor_toolbar.dart:263:39: Error: The getter 'toggleableActiveColor' isn't defined for the class 'ThemeData'.
 - 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../../Development/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'.
  final fillColor = isToggled ? theme.toggleableActiveColor : theme.canvasColor;
                                      ^^^^^^^^^^^^^^^^^^^^^
Failed to compile application.
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

1 participant