-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
App Version
3.11.8
API Provider
OpenRouter
Model Used
sonnet 3.7
Actual vs. Expected Behavior
problem
when creating new files there is tons of errors reported by dart analyzer that is included automatically in the api request , this sometimes is completely unneeded specially in dart/flutter where there is some steps needed for the errors to go away like getting the packages or running code generators and the LLM already knows this .
providing such a long error logs not only consumes tokens and context but also make the output quality lower as the model feels forced to give priority to fixing the errors instead of continue with it's mission which in making a multi-file feature is confusing and normal to have errors until finished .
proposed solution :
make the error including feature optional with an easy to toggle switch , also it is helpful to provide control over the length or number of errors to include in the api request
Detailed Steps to Reproduce
create any multi-file features with temp errors in problems tab
Relevant API Request Output
<details>
New problems detected after saving the file:
packages/multi_step_widgets/test/multi_step_widgets_test.dart
- [dart Error] 41 | theme: const StepIndicatorThemeData( : The name 'StepIndicatorThemeData' isn't a class.
Try correcting the name to match an existing class.
- [dart Error] 137 | class TextStepIndicator<T> extends StepIndicator<T> { : Classes can only extend other classes.
Try specifying a different superclass, or removing the extends clause.
- [dart Error] 141 | final FlowBloc<T> bloc; : Undefined class 'FlowBloc'.
Try changing the name to the name of an existing class, or creating a class with the name 'FlowBloc'.
- [dart Error] 9 | FlowStep<TestData>(id: '1', data: TestData()), : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 10 | FlowStep<TestData>(id: '2', data: TestData()), : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 11 | FlowStep<TestData>(id: '3', data: TestData()), : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 14 | final bloc = FlowBloc<TestData>(steps: steps); : The function 'FlowBloc' isn't defined.
Try importing the library that defines 'FlowBloc', correcting the name to the name of an existing function, or defining a function named 'FlowBloc'.
- [dart Error] 17 | MaterialApp(home: Scaffold(body: DotsIndicator<TestData>(bloc: bloc))), : The function 'DotsIndicator' isn't defined.
Try importing the library that defines 'DotsIndicator', correcting the name to the name of an existing function, or defining a function named 'DotsIndicator'.
- [dart Error] 28 | FlowStep<TestData>(id: '1', data: TestData()), : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 29 | FlowStep<TestData>(id: '2', data: TestData()), : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 32 | final bloc = FlowBloc<TestData>(steps: steps); : The function 'FlowBloc' isn't defined.
Try importing the library that defines 'FlowBloc', correcting the name to the name of an existing function, or defining a function named 'FlowBloc'.
- [dart Error] 39 | body: DotsIndicator<TestData>( : The function 'DotsIndicator' isn't defined.
Try importing the library that defines 'DotsIndicator', correcting the name to the name of an existing function, or defining a function named 'DotsIndicator'.
- [dart Error] 69 | final steps = [FlowStep<TestData>(id: '1', data: TestData())]; : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 70 | final bloc = FlowBloc<TestData>(steps: steps); : The function 'FlowBloc' isn't defined.
Try importing the library that defines 'FlowBloc', correcting the name to the name of an existing function, or defining a function named 'FlowBloc'.
- [dart Error] 75 | body: FlowLayout<TestData>( : The function 'FlowLayout' isn't defined.
Try importing the library that defines 'FlowLayout', correcting the name to the name of an existing function, or defining a function named 'FlowLayout'.
- [dart Error] 84 | expect(find.byType(FlowNavigationBar<TestData>), findsOneWidget); : Undefined name 'FlowNavigationBar'.
Try correcting the name to one that is defined, or defining the name.
- [dart Error] 91 | final steps = [FlowStep<TestData>(id: '1', data: TestData())]; : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 92 | final bloc = FlowBloc<TestData>(steps: steps); : The function 'FlowBloc' isn't defined.
Try importing the library that defines 'FlowBloc', correcting the name to the name of an existing function, or defining a function named 'FlowBloc'.
- [dart Error] 97 | body: FlowLayout<TestData>( : The function 'FlowLayout' isn't defined.
Try importing the library that defines 'FlowLayout', correcting the name to the name of an existing function, or defining a function named 'FlowLayout'.
- [dart Error] 113 | final steps = [FlowStep<TestData>(id: '1', data: TestData())]; : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 114 | final bloc = FlowBloc<TestData>(steps: steps); : The function 'FlowBloc' isn't defined.
Try importing the library that defines 'FlowBloc', correcting the name to the name of an existing function, or defining a function named 'FlowBloc'.
- [dart Error] 119 | body: FlowLayout<TestData>( : The function 'FlowLayout' isn't defined.
Try importing the library that defines 'FlowLayout', correcting the name to the name of an existing function, or defining a function named 'FlowLayout'.
- [dart Error] 128 | expect(find.byType(FlowNavigationBar<TestData>), findsNothing); : Undefined name 'FlowNavigationBar'.
Try correcting the name to one that is defined, or defining the name.
- [dart Error] 138 | const TextStepIndicator({super.key, required this.bloc}) : super(bloc: bloc); : The named parameter 'bloc' isn't defined.
Try correcting the name to an existing named parameter's name, or defining a named parameter with the name 'bloc'.
- [dart Error] 138 | const TextStepIndicator({super.key, required this.bloc}) : super(bloc: bloc); : No associated named super constructor parameter.
Try changing the name to the name of an existing named super constructor parameter, or creating such named parameter.
- [dart Error] 144 | Widget buildIndicator(BuildContext context, FlowState<T> state) { : 'T' doesn't conform to the bound 'FlowStepData' of the type parameter 'TStepData'.
Try using a type that is or is a subclass of 'FlowStepData'.
packages/multi_step_widgets/lib/src/flow_builder.dart
- [dart Error] 11 | final FlowBloc<TStepData>? bloc; : Undefined class 'FlowBloc'.
Try changing the name to the name of an existing class, or creating a class with the name 'FlowBloc'.
- [dart Error] 63 | FlowBloc<TStepData>? _bloc; : Undefined class 'FlowBloc'.
Try changing the name to the name of an existing class, or creating a class with the name 'FlowBloc'.
- [dart Error] 87 | _bloc = widget.bloc ?? context.read<FlowBloc<TStepData>>(); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 96 | return BlocConsumer<FlowBloc<TStepData>, FlowState<TStepData>>( : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 239 | final FlowBloc<TStepData> bloc; : Undefined class 'FlowBloc'.
Try changing the name to the name of an existing class, or creating a class with the name 'FlowBloc'.
- [dart Error] 254 | return BlocProvider<FlowBloc<TStepData>>.value(value: bloc, child: child); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 14 | final Widget Function(BuildContext, FlowStep<TStepData>) stepBuilder; : 'TStepData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 17 | final Widget Function(BuildContext, FlowState<TStepData>)? loadingBuilder; : 'TStepData' doesn't conform to the bound 'FlowStepData' of the type parameter 'TStepData'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 23 | final Widget Function(BuildContext, FlowState<TStepData>)? completedBuilder; : 'TStepData' doesn't conform to the bound 'FlowStepData' of the type parameter 'TStepData'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 96 | return BlocConsumer<FlowBloc<TStepData>, FlowState<TStepData>>( : 'TStepData' doesn't conform to the bound 'FlowStepData' of the type parameter 'TStepData'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 200 | FlowState<TStepData> state, : 'TStepData' doesn't conform to the bound 'FlowStepData' of the type parameter 'TStepData'.
Try using a type that is or is a subclass of 'FlowStepData'.
packages/multi_step_widgets/example/lib/main.dart
- [dart Error] 30 | late FlowBloc<OnboardingData> _bloc; : Undefined class 'FlowBloc'.
Try changing the name to the name of an existing class, or creating a class with the name 'FlowBloc'.
- [dart Error] 74 | title: BlocBuilder<FlowBloc<OnboardingData>, FlowState<OnboardingData>>( : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 215 | final bloc = BlocProvider.of<FlowBloc<OnboardingData>>(context); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 274 | final bloc = BlocProvider.of<FlowBloc<OnboardingData>>(context); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 312 | final bloc = BlocProvider.of<FlowBloc<OnboardingData>>(context); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 378 | final bloc = BlocProvider.of<FlowBloc<OnboardingData>>(context); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 399 | final bloc = BlocProvider.of<FlowBloc<OnboardingData>>(context); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 37 | FlowStep<OnboardingData>( : 'OnboardingData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 42 | FlowStep<OnboardingData>( : 'OnboardingData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 47 | FlowStep<OnboardingData>( : 'OnboardingData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 53 | FlowStep<OnboardingData>( : 'OnboardingData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 61 | _bloc = FlowBloc<OnboardingData>(steps: steps); : The method 'FlowBloc' isn't defined for the type '_OnboardingFlowState'.
Try correcting the name to the name of an existing method, or defining a method named 'FlowBloc'.
- [dart Error] 86 | child: DotsIndicator<OnboardingData>( : The method 'DotsIndicator' isn't defined for the type '_OnboardingFlowState'.
Try correcting the name to the name of an existing method, or defining a method named 'DotsIndicator'.
- [dart Error] 105 | child: FlowNavigationBar<OnboardingData>( : The method 'FlowNavigationBar' isn't defined for the type '_OnboardingFlowState'.
Try correcting the name to the name of an existing method, or defining a method named 'FlowNavigationBar'.
- [dart Error] 225 | FlowFormField( : The method 'FlowFormField' isn't defined for the type '_ProfileStepState'.
Try correcting the name to the name of an existing method, or defining a method named 'FlowFormField'.
- [dart Error] 242 | FlowFormField( : The method 'FlowFormField' isn't defined for the type '_ProfileStepState'.
Try correcting the name to the name of an existing method, or defining a method named 'FlowFormField'.
- [dart Error] 219 | child: FormStepLayout( : The method 'FormStepLayout' isn't defined for the type '_ProfileStepState'.
Try correcting the name to the name of an existing method, or defining a method named 'FormStepLayout'.
- [dart Error] 278 | name: _formData.getField<String>('name'), : The method 'FormField<dynamic>? Function(String)' is declared with 0 type parameters, but 1 type arguments are given.
Try adjusting the number of type arguments.
- [dart Error] 279 | email: _formData.getField<String>('email'), : The method 'FormField<dynamic>? Function(String)' is declared with 0 type parameters, but 1 type arguments are given.
Try adjusting the number of type arguments.
- [dart Error] 283 | bloc.add(FlowEvent.stepValidated(isValid: _formData.isFormValid)); : The getter 'isFormValid' isn't defined for the type 'FormStepData'.
Try importing the library that defines 'isFormValid', correcting the name to the name of an existing getter, or defining a getter or field named 'isFormValid'.
- [dart Error] 74 | title: BlocBuilder<FlowBloc<OnboardingData>, FlowState<OnboardingData>>( : 'OnboardingData' doesn't conform to the bound 'FlowStepData' of the type parameter 'TStepData'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 119 | Widget _buildStep(BuildContext context, FlowStep<OnboardingData> step) { : 'OnboardingData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
packages/multi_step_flow/lib/src/bloc/flow_events.dart
- [dart Error] 49 | factory FlowEvent.stepsModified<T extends FlowStepData>({ : Constructors can't have type parameters.
Try removing the type parameters.
- [dart Error] 54 | factory FlowEvent.stepDataUpdated<T extends FlowStepData>({ : Constructors can't have type parameters.
Try removing the type parameters.
- [dart Error] 50 | required List<FlowStep<T>> steps, : The name 'T' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'T'.
- [dart Error] 51 | }) = FlowStepsModified<T>; : The name 'T' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'T'.
- [dart Error] 55 | required T data, : Undefined class 'T'.
Try changing the name to the name of an existing class, or creating a class with the name 'T'.
- [dart Error] 56 | }) = FlowStepDataUpdated<T>; : The name 'T' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'T'.
packages/multi_step_widgets/lib/multi_step_widgets.dart
- [dart Error] 11 | export 'src/indicators/base_indicator.dart'; : Target of URI doesn't exist: 'src/indicators/base_indicator.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 12 | export 'src/indicators/dots_indicator.dart'; : Target of URI doesn't exist: 'src/indicators/dots_indicator.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 15 | export 'src/navigation/flow_navigation_bar.dart'; : Target of URI doesn't exist: 'src/navigation/flow_navigation_bar.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 16 | export 'src/navigation/navigation_button.dart'; : Target of URI doesn't exist: 'src/navigation/navigation_button.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 19 | export 'src/layouts/flow_layout.dart'; : Target of URI doesn't exist: 'src/layouts/flow_layout.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 22 | export 'src/form/form_field.dart'; : Target of URI doesn't exist: 'src/form/form_field.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 23 | export 'src/form/form_step.dart'; : Target of URI doesn't exist: 'src/form/form_step.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 26 | export 'src/information/information_step.dart'; : Target of URI doesn't exist: 'src/information/information_step.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 29 | export 'src/theme/flow_theme.dart'; : Target of URI doesn't exist: 'src/theme/flow_theme.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 30 | export 'src/theme/indicator_theme.dart'; : Target of URI doesn't exist: 'src/theme/indicator_theme.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
packages/multi_step_flow/test/multi_step_flow_test.dart
- [dart Error] 8 | late FlowBloc<TestData> bloc; : Undefined class 'FlowBloc'.
Try changing the name to the name of an existing class, or creating a class with the name 'FlowBloc'.
- [dart Error] 13 | FlowStep<TestData>(id: '1', data: const TestData(value: 'test1')), : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 14 | FlowStep<TestData>( : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 19 | FlowStep<TestData>(id: '3', data: const TestData(value: 'test3')), : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 21 | bloc = FlowBloc<TestData>(steps: steps); : The function 'FlowBloc' isn't defined.
Try importing the library that defines 'FlowBloc', correcting the name to the name of an existing function, or defining a function named 'FlowBloc'.
- [dart Error] 148 | final step = FlowStep<TestData>( : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 159 | final original = FlowStep<TestData>( : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 171 | final original = FlowStep<TestData>( : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 9 | late List<FlowStep<TestData>> steps; : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 95 | final statesReceived = <FlowState<TestData>>[]; : 'TestData' doesn't conform to the bound 'FlowStepData' of the type parameter 'TStepData'.
Try using a type that is or is a subclass of 'FlowStepData'.
packages/multi_step_flow/example/multi_step_flow_example.dart
- [dart Error] 65 | Future<void> performFlow(FlowBloc<RegistrationData> bloc) async { : Undefined class 'FlowBloc'.
Try changing the name to the name of an existing class, or creating a class with the name 'FlowBloc'.
- [dart Error] 6 | FlowStep<RegistrationData>( : 'RegistrationData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 18 | FlowStep<RegistrationData>( : 'RegistrationData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 27 | FlowStep<RegistrationData>( : 'RegistrationData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 44 | final bloc = FlowBloc<RegistrationData>( : The function 'FlowBloc' isn't defined.
Try importing the library that defines 'FlowBloc', correcting the name to the name of an existing function, or defining a function named 'FlowBloc'.
packages/multi_step_flow/lib/multi_step_flow.dart
- [dart Error] 24 | export 'src/data/story/story_step_data.dart'; : Target of URI doesn't exist: 'src/data/story/story_step_data.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 27 | export 'src/flows/form_flow.dart'; : Target of URI doesn't exist: 'src/flows/form_flow.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 28 | export 'src/flows/information_flow.dart'; : Target of URI doesn't exist: 'src/flows/information_flow.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 29 | export 'src/flows/story_flow.dart'; : Target of URI doesn't exist: 'src/flows/story_flow.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 30 | export 'src/flows/onboarding_flow.dart'; : Target of URI doesn't exist: 'src/flows/onboarding_flow.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 31 | export 'src/flows/decision_flow.dart'; : Target of URI doesn't exist: 'src/flows/decision_flow.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 34 | export 'src/validators/validator.dart'; : Target of URI doesn't exist: 'src/validators/validator.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
- [dart Error] 35 | export 'src/validators/field_validators.dart'; : Target of URI doesn't exist: 'src/validators/field_validators.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.
packages/multi_step_widgets/example/registration_flow_example.dart
- [dart Error] 30 | late FlowBloc<RegistrationData> _bloc; : Undefined class 'FlowBloc'.
Try changing the name to the name of an existing class, or creating a class with the name 'FlowBloc'.
- [dart Error] 79 | FlowBloc<RegistrationData>, : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 91 | FlowBloc<RegistrationData>, : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 195 | final bloc = BlocProvider.of<FlowBloc<RegistrationData>>( : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 281 | final bloc = BlocProvider.of<FlowBloc<RegistrationData>>(context); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 286 | final bloc = BlocProvider.of<FlowBloc<RegistrationData>>(context); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 317 | final bloc = BlocProvider.of<FlowBloc<RegistrationData>>( : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 425 | final bloc = BlocProvider.of<FlowBloc<RegistrationData>>(context); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 430 | final bloc = BlocProvider.of<FlowBloc<RegistrationData>>(context); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 467 | final bloc = BlocProvider.of<FlowBloc<RegistrationData>>(context); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 535 | final bloc = BlocProvider.of<FlowBloc<RegistrationData>>(context); : The name 'FlowBloc' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'FlowBloc'.
- [dart Error] 38 | FlowStep<RegistrationData>( : 'RegistrationData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 45 | FlowStep<RegistrationData>( : 'RegistrationData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 50 | FlowStep<RegistrationData>( : 'RegistrationData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 62 | _bloc = FlowBloc<RegistrationData>(steps: steps); : The method 'FlowBloc' isn't defined for the type '_RegistrationScreenState'.
Try correcting the name to the name of an existing method, or defining a method named 'FlowBloc'.
- [dart Error] 101 | child: DotsIndicator<RegistrationData>(bloc: _bloc), : The method 'DotsIndicator' isn't defined for the type '_RegistrationScreenState'.
Try correcting the name to the name of an existing method, or defining a method named 'DotsIndicator'.
- [dart Error] 110 | child: FlowNavigationBar<RegistrationData>( : The method 'FlowNavigationBar' isn't defined for the type '_RegistrationScreenState'.
Try correcting the name to the name of an existing method, or defining a method named 'FlowNavigationBar'.
- [dart Error] 80 | FlowState<RegistrationData> : 'RegistrationData' doesn't conform to the bound 'FlowStepData' of the type parameter 'TStepData'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 92 | FlowState<RegistrationData> : 'RegistrationData' doesn't conform to the bound 'FlowStepData' of the type parameter 'TStepData'.
Try using a type that is or is a subclass of 'FlowStepData'.
- [dart Error] 126 | Widget _buildStep(BuildContext context, FlowStep<RegistrationData> step) { : 'RegistrationData' doesn't conform to the bound 'FlowStepData' of the type parameter 'T'.
Try using a type that is or is a subclass of 'FlowStepData'.
packages/multi_step_flow/lib/src/bloc/hydrated_flow_bloc.dart
- [dart Error] 66 | var status = FlowStatus.initial; : Undefined name 'FlowStatus'.
Try correcting the name to one that is defined, or defining the name.
- [dart Error] 69 | status = FlowStatus.values.firstWhere( : Undefined name 'FlowStatus'.
Try correcting the name to one that is defined, or defining the name.
- [dart Error] 71 | orElse: () => FlowStatus.initial, : Undefined name 'FlowStatus'.
Try correcting the name to one that is defined, or defining the name.
</details>Additional Context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status