Skip to content

generated_plugin_registrant.dart does not respect prefer_double_quotes: true #48520

@18601673727

Description

@18601673727

Every time run debug for the flutter app, the generated_plugin_registrant.dart file got generated with content like this:

//
// Generated file. Do not edit.
//

// ignore_for_file: directives_ordering
// ignore_for_file: lines_longer_than_80_chars

import 'package:shared_preferences_web/shared_preferences_web.dart';

import 'package:flutter_web_plugins/flutter_web_plugins.dart';

// ignore: public_member_api_docs
void registerPlugins(Registrar registrar) {
  SharedPreferencesPlugin.registerWith(registrar);
  registrar.registerMessageHandler();
}

but I have set prefer_double_quotes: true in analysis_options.yaml so the linter keeps complain about Prefer double quotes where they won't require escape sequences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions