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

The getter 'DirectSelectContainer' isn't defined for the class 'DirectSelectState<T>' #27

Open
mehbooburrehman opened this issue Jun 7, 2021 · 0 comments

Comments

@mehbooburrehman
Copy link

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/direct_select_flutter-1.1.1/lib/direct_select_list.dart:1:8: Error: Error when reading '/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/direct_select_flutter-1.1.1/lib/direct_select_container.dart': The system cannot find the file specified.

import 'package:direct_select_flutter/direct_select_container.dart';
^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/direct_select_flutter-1.1.1/lib/direct_select_list.dart:133:24: Error: The getter 'DirectSelectContainer' isn't defined for the class 'DirectSelectState'.

  • 'DirectSelectState' is from 'package:direct_select_flutter/direct_select_list.dart' ('/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/direct_select_flutter-1.1.1/lib/direct_select_list.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'DirectSelectContainer'.
    final dsListener = DirectSelectContainer.of(context);
    ^^^^^^^^^^^^^^^^^^^^^
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