Skip to content

convert to named parameter quick fix: Named parameters can't start with an underscore. #60248

@stephane-archer

Description

@stephane-archer
class _LutPreviewImagesState {
  final List<LutPreviewResult> _lutImages;
  final StreamSubscription<LutPreviewResult>? _steamSubscription;
  final Future<PreviewManager> previewManager;

  const _LutPreviewImagesState(
      this._lutImages, this._steamSubscription, this.previewManager);

}

convert to named parameter quick fix:

class _LutPreviewImagesState {
  final List<LutPreviewResult> _lutImages;
  final StreamSubscription<LutPreviewResult>? _steamSubscription;
  final Future<PreviewManager> previewManager;

  const _LutPreviewImagesState(
      {required this._lutImages,
      required this._steamSubscription,
      required this.previewManager});

Named parameters can't start with an underscore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-refactoringIssues with analysis server refactoringsfeature-private-named-parameterstype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions