-
Notifications
You must be signed in to change notification settings - Fork 124
annotations appears twice #3265
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
Comments
Widget.createElement looks pretty wild too. https://master-api.flutter.dev/flutter/widgets/Widget/createElement.html This might be only for functions. The bug does not happen in mockito's deferToDefaultResponse, but does happen in observable's observed. |
Note that this bug is already live at api.flutter.dev: https://api.flutter.dev/flutter/widgets/Widget/createElement.html Still haven't found what caused the regression. |
This bug seems to have been introduced before 66e11fd (2022-01-16). I'm not going to search back before then. |
I guess it's likely #2600 which includes annotations as features, which are rendered, but annotations are still rendered as well. I'm not sure the intended distinction between features and annotations, but I guess it makes sense for annotations to be rendered above the element description. |
Yeah I'm making a change which effectively does that, and adding testing, haha. |
Another screenshot of the broken code for posterity: found at https://pub.dev/documentation/observable/latest/observable/Observable/observed.html |
If Flutter is keen on having this fix, it is found in dartdoc 6.1.5, cc @goderbauer @gspencergoog |
e.g. https://master-api.flutter.dev/flutter/painting/Decoration/lerpFrom.html:
The text was updated successfully, but these errors were encountered: