Can we access your project?
Current Behavior
New test mode fails to build with this error appearing in two places on the ProductDetail page:
lib/product_detail/product_detail_widget.dart:255:38: Error: No named parameter with the name 'key'.
children: [RatingBarIndicator(key: const FFNodeKey('RatingBar_38w5zeq3'),
lib/product_detail/product_detail_widget.dart:1003:21: Error: No named parameter with the name 'key'.
RatingBarIndicator(key: const FFNodeKey('RatingBar_9zedufhd'),
Root cause: FlutterFlow's new test mode injects key: const FFNodeKey(...) into every widget, but flutter_rating_bar 4.0.1's RatingBarIndicator constructor does not accept a key parameter.
Old test mode (?legacy=1) builds and runs fine. Issue is isolated to new test mode.
Question: Is this test-mode-only or will it also affect production iOS / TestFlight builds?
Project: blank-629zkz
Page: ProductDetail
Expected Behavior
New test mode should build successfully, same as old test mode.
Steps to Reproduce
- Open project blank-629zkz
- Go to ProductDetail page
- Launch new test mode (not legacy)
- Observe build failure
Reproducible from Blank
Bug Report Code (Required)
ITEelsn1z4pNj70C+ZfUL8IxowMwJ0QlUIInj+0bWRMhfLLqPZYMfeDsahNLYteUYH5EBFb+uD4x0cHFhdrPLuw6aEmVRYReyoRXQTvKQmG6MK6mDqWKZ39CQMFVC3aM4KuzqhNSCMteS1YBwzqqCfCdG3qCf9qOYwx5e6fDbOY=
Visual documentation
Environment
- FlutterFlow version:
- Platform:
- Browser name and version:
- Operating system and version affected:
Additional Information
No response
Can we access your project?
Current Behavior
New test mode fails to build with this error appearing in two places on the ProductDetail page:
lib/product_detail/product_detail_widget.dart:255:38: Error: No named parameter with the name 'key'.
children: [RatingBarIndicator(key: const FFNodeKey('RatingBar_38w5zeq3'),
lib/product_detail/product_detail_widget.dart:1003:21: Error: No named parameter with the name 'key'.
RatingBarIndicator(key: const FFNodeKey('RatingBar_9zedufhd'),
Root cause: FlutterFlow's new test mode injects key: const FFNodeKey(...) into every widget, but flutter_rating_bar 4.0.1's RatingBarIndicator constructor does not accept a key parameter.
Old test mode (?legacy=1) builds and runs fine. Issue is isolated to new test mode.
Question: Is this test-mode-only or will it also affect production iOS / TestFlight builds?
Project: blank-629zkz
Page: ProductDetail
Expected Behavior
New test mode should build successfully, same as old test mode.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
ITEelsn1z4pNj70C+ZfUL8IxowMwJ0QlUIInj+0bWRMhfLLqPZYMfeDsahNLYteUYH5EBFb+uD4x0cHFhdrPLuw6aEmVRYReyoRXQTvKQmG6MK6mDqWKZ39CQMFVC3aM4KuzqhNSCMteS1YBwzqqCfCdG3qCf9qOYwx5e6fDbOY=
Visual documentation
Environment
Additional Information
No response