Skip to content

Some doc comments refer to unknown, or out of scope, code identifiers. #150562

@srawlins

Description

@srawlins

Here's the main list. Some just need to use backticks instead of square brackets. Some should just not have square brackets. Some are typos. Some need broader textual refactoring:

  • * DragGestureRecognizer.onCancel - property referencing allowedButtonsFilter.
  • * DragGestureRecognizer.onDown - property referencing allowedButtonsFilter.
  • * DragGestureRecognizer.onEnd - property referencing allowedButtonsFilter.
  • * DragGestureRecognizer.onStart - property referencing allowedButtonsFilter.
  • * DragGestureRecognizer.onUpdate - property referencing allowedButtonsFilter.
  • * DoubleTapGestureRecognizer.onDoubleTap - property referencing allowedButtonsFilter.
  • * DoubleTapGestureRecognizer.onDoubleTapCancel - property referencing referencing allowedButtonsFilter.
  • * DoubleTapGestureRecognizer.onDoubleTapDown - property referencing allowedButtonsFilter.
  • * TapGestureRecognizer - class referencing allowedButtonsFilter.
  • * Badge.backgroundColor - property referencing ColorScheme.errorColor.
  • * ButtonThemeData.padding - property referencing button.
  • * ButtonThemeData.shape - property referencing button.
  • * InkSparkle - class referencing containedInkWell.
  • * InkSparkle - class referencing rectCallback.
  • * InkSparkle.splashFactory - static const field referencing turbulenceSeed.
  • * InkSparkle.constantTurbulenceSeedSplashFactory - static const field referencing turbulenceSeed.
  • * Switch.adaptive - constructor referencing ThemeData.adaptations.
  • * TextButton.defaultStyleOf - method referencing padding.
  • * Adaptation.adapt - method referencing ThemeData.adaptations.
  • * UndoManager - Class referencing canRedo.
  • * UndoManager - Class referencing canUndo.
  • * ContextMenuController.markNeedsBuild - method referencing contextMenuBuilder.
  • * SliverFadeTransition - class referencing sliver.

And some just refer to not-properly-prefixed elements. These can be updated with a prefix:

  • * ImageInfo.clone - method referencing Image.clone.
  • * ImageInfo.isCloneOf - method referencing Image.isCloneOf.
  • * RawImage - class referencing Image.dispose.
  • * RawImage.image - property referencing Image.dispose.

And some just refer to not-imported elements. These can be updated with @docImport:

  • * DiagnosticsNode.toTimelineArguments - method referencing Timeline.startSync.
  • * compute - top-level function referencing Isolate.run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    d: api docsIssues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions