diff --git a/packages/core/lib/generators/generator_helper.dart b/packages/core/lib/generators/generator_helper.dart index 00bc0f1c..79ca492a 100644 --- a/packages/core/lib/generators/generator_helper.dart +++ b/packages/core/lib/generators/generator_helper.dart @@ -8,7 +8,7 @@ String get header { } String get ignoreAnalysis { - return '''// ignore_for_file: directives_ordering + return '''// ignore_for_file: directives_ordering,unnecessary_import '''; } diff --git a/packages/core/lib/version.gen.dart b/packages/core/lib/version.gen.dart index 8598e6d1..f41a6fd1 100644 --- a/packages/core/lib/version.gen.dart +++ b/packages/core/lib/version.gen.dart @@ -1,2 +1,2 @@ /// DO NOT MODIFY BY HAND, Generated by version_gen -String packageVersion = '4.1.2'; +String packageVersion = '4.1.2+2'; diff --git a/packages/core/test_resources/actual_data/assets.gen.dart b/packages/core/test_resources/actual_data/assets.gen.dart index 01448651..ba9f0590 100644 --- a/packages/core/test_resources/actual_data/assets.gen.dart +++ b/packages/core/test_resources/actual_data/assets.gen.dart @@ -3,7 +3,7 @@ /// FlutterGen /// ***************************************************** -// ignore_for_file: directives_ordering +// ignore_for_file: directives_ordering,unnecessary_import import 'package:flutter/widgets.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/packages/core/test_resources/actual_data/assets_camel_case.gen.dart b/packages/core/test_resources/actual_data/assets_camel_case.gen.dart index 25bd2549..85b95585 100644 --- a/packages/core/test_resources/actual_data/assets_camel_case.gen.dart +++ b/packages/core/test_resources/actual_data/assets_camel_case.gen.dart @@ -3,7 +3,7 @@ /// FlutterGen /// ***************************************************** -// ignore_for_file: directives_ordering +// ignore_for_file: directives_ordering,unnecessary_import import 'package:flutter/widgets.dart'; diff --git a/packages/core/test_resources/actual_data/assets_flare_integrations.gen.dart b/packages/core/test_resources/actual_data/assets_flare_integrations.gen.dart index 353fc876..716f2884 100644 --- a/packages/core/test_resources/actual_data/assets_flare_integrations.gen.dart +++ b/packages/core/test_resources/actual_data/assets_flare_integrations.gen.dart @@ -3,7 +3,7 @@ /// FlutterGen /// ***************************************************** -// ignore_for_file: directives_ordering +// ignore_for_file: directives_ordering,unnecessary_import import 'package:flutter/widgets.dart'; import 'package:flare_flutter/flare_actor.dart'; diff --git a/packages/core/test_resources/actual_data/assets_ignore_files.gen.dart b/packages/core/test_resources/actual_data/assets_ignore_files.gen.dart index da0b5a96..62f0659f 100644 --- a/packages/core/test_resources/actual_data/assets_ignore_files.gen.dart +++ b/packages/core/test_resources/actual_data/assets_ignore_files.gen.dart @@ -3,7 +3,7 @@ /// FlutterGen /// ***************************************************** -// ignore_for_file: directives_ordering +// ignore_for_file: directives_ordering,unnecessary_import import 'package:flutter/widgets.dart'; diff --git a/packages/core/test_resources/actual_data/assets_no_integrations.gen.dart b/packages/core/test_resources/actual_data/assets_no_integrations.gen.dart index a334e591..cd00728a 100644 --- a/packages/core/test_resources/actual_data/assets_no_integrations.gen.dart +++ b/packages/core/test_resources/actual_data/assets_no_integrations.gen.dart @@ -3,7 +3,7 @@ /// FlutterGen /// ***************************************************** -// ignore_for_file: directives_ordering +// ignore_for_file: directives_ordering,unnecessary_import import 'package:flutter/widgets.dart'; diff --git a/packages/core/test_resources/actual_data/assets_package_parameter.gen.dart b/packages/core/test_resources/actual_data/assets_package_parameter.gen.dart index 4d24961d..1c668382 100644 --- a/packages/core/test_resources/actual_data/assets_package_parameter.gen.dart +++ b/packages/core/test_resources/actual_data/assets_package_parameter.gen.dart @@ -3,7 +3,7 @@ /// FlutterGen /// ***************************************************** -// ignore_for_file: directives_ordering +// ignore_for_file: directives_ordering,unnecessary_import import 'package:flutter/widgets.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/packages/core/test_resources/actual_data/assets_rive_integrations.gen.dart b/packages/core/test_resources/actual_data/assets_rive_integrations.gen.dart index ec60665f..8fc27cff 100644 --- a/packages/core/test_resources/actual_data/assets_rive_integrations.gen.dart +++ b/packages/core/test_resources/actual_data/assets_rive_integrations.gen.dart @@ -3,7 +3,7 @@ /// FlutterGen /// ***************************************************** -// ignore_for_file: directives_ordering +// ignore_for_file: directives_ordering,unnecessary_import import 'package:flutter/widgets.dart'; import 'package:rive/rive.dart'; diff --git a/packages/core/test_resources/actual_data/assets_snake_case.gen.dart b/packages/core/test_resources/actual_data/assets_snake_case.gen.dart index 3c7c1ac6..87681694 100644 --- a/packages/core/test_resources/actual_data/assets_snake_case.gen.dart +++ b/packages/core/test_resources/actual_data/assets_snake_case.gen.dart @@ -3,7 +3,7 @@ /// FlutterGen /// ***************************************************** -// ignore_for_file: directives_ordering +// ignore_for_file: directives_ordering,unnecessary_import import 'package:flutter/widgets.dart'; diff --git a/packages/core/test_resources/actual_data/assets_svg_integrations.gen.dart b/packages/core/test_resources/actual_data/assets_svg_integrations.gen.dart index 0bd1bb25..bcd6d533 100644 --- a/packages/core/test_resources/actual_data/assets_svg_integrations.gen.dart +++ b/packages/core/test_resources/actual_data/assets_svg_integrations.gen.dart @@ -3,7 +3,7 @@ /// FlutterGen /// ***************************************************** -// ignore_for_file: directives_ordering +// ignore_for_file: directives_ordering,unnecessary_import import 'package:flutter/widgets.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/packages/core/test_resources/actual_data/assets_unknown_mime_type.gen.dart b/packages/core/test_resources/actual_data/assets_unknown_mime_type.gen.dart index 0ca199f1..57b9bcec 100644 --- a/packages/core/test_resources/actual_data/assets_unknown_mime_type.gen.dart +++ b/packages/core/test_resources/actual_data/assets_unknown_mime_type.gen.dart @@ -3,7 +3,7 @@ /// FlutterGen /// ***************************************************** -// ignore_for_file: directives_ordering +// ignore_for_file: directives_ordering,unnecessary_import import 'package:flutter/widgets.dart'; diff --git a/packages/core/test_resources/actual_data/colors.gen.dart b/packages/core/test_resources/actual_data/colors.gen.dart index a7d31964..81ddb8d3 100644 --- a/packages/core/test_resources/actual_data/colors.gen.dart +++ b/packages/core/test_resources/actual_data/colors.gen.dart @@ -3,7 +3,7 @@ /// FlutterGen /// ***************************************************** -// ignore_for_file: directives_ordering +// ignore_for_file: directives_ordering,unnecessary_import import 'package:flutter/painting.dart'; import 'package:flutter/material.dart'; diff --git a/packages/core/test_resources/actual_data/fonts.gen.dart b/packages/core/test_resources/actual_data/fonts.gen.dart index a2088dce..dde95a98 100644 --- a/packages/core/test_resources/actual_data/fonts.gen.dart +++ b/packages/core/test_resources/actual_data/fonts.gen.dart @@ -3,7 +3,7 @@ /// FlutterGen /// ***************************************************** -// ignore_for_file: directives_ordering +// ignore_for_file: directives_ordering,unnecessary_import class FontFamily { FontFamily._();