bizz84 / bizz84/flight_co2_calculator_flutter
The getter 'controller' isn't defined for the class 'BehaviorSubject'.
- Dominant language
- Dart
- Stars
- 57
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
I get following error. Any idea how to fix it?
Thanks
"flight_details_bloc.dart",
"severity": 8,
"message": "The getter 'controller' isn't defined for the class 'BehaviorSubject'.\nTry importing the library that defines 'controller', correcting the name to the name of an existing getter, or defining a getter or field named 'controller'.",
"source": "dart",
"startLineNumber": 124,
"startColumn": 53,
"endLineNumber": 124,
"endColumn": 63,
"tags": []
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting flight_details_bloc.dart around line 124 and identify how BehaviorSubject is being used. Run the Dart analyzer to reproduce the reported getter error, then trace the relevant BehaviorSubject API and verify that the analyzer reports no error after the intended correction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100