diff --git a/app/analysis_options.yaml b/app/analysis_options.yaml index 40641655..a6911228 100644 --- a/app/analysis_options.yaml +++ b/app/analysis_options.yaml @@ -8,3 +8,4 @@ linter: prefer_interpolation_to_compose_strings: false no_leading_underscores_for_local_identifiers: false use_build_context_synchronously: false + directives_ordering: true diff --git a/app/lib/file_extension.dart b/app/lib/file_extension.dart index ae0a2890..ee417a97 100644 --- a/app/lib/file_extension.dart +++ b/app/lib/file_extension.dart @@ -1,7 +1,7 @@ import 'dart:io'; -import 'package:path/path.dart' as path_lib; import 'package:mime/mime.dart'; +import 'package:path/path.dart' as path_lib; extension FileExtension on File { Future readMime() async { diff --git a/app/test/double_extension_test.dart b/app/test/double_extension_test.dart index 4e9931fc..b12209a3 100644 --- a/app/test/double_extension_test.dart +++ b/app/test/double_extension_test.dart @@ -1,5 +1,5 @@ -import 'package:test/test.dart'; import 'package:nc_photos/double_extension.dart'; +import 'package:test/test.dart'; void main() { group("DoubleExtension", () { diff --git a/app/test/string_extension_test.dart b/app/test/string_extension_test.dart index c6ea7843..4cfab836 100644 --- a/app/test/string_extension_test.dart +++ b/app/test/string_extension_test.dart @@ -1,5 +1,5 @@ -import 'package:test/test.dart'; import 'package:nc_photos/string_extension.dart'; +import 'package:test/test.dart'; void main() { group("StringExtension", () { diff --git a/plugin/lib/src/content_uri.dart b/plugin/lib/src/content_uri.dart index 78111f62..91383f45 100644 --- a/plugin/lib/src/content_uri.dart +++ b/plugin/lib/src/content_uri.dart @@ -1,5 +1,4 @@ import 'dart:async'; -import 'dart:typed_data'; import 'package:flutter/services.dart'; import 'package:nc_photos_plugin/src/exception.dart'; diff --git a/plugin/lib/src/media_store.dart b/plugin/lib/src/media_store.dart index ce272841..47296163 100644 --- a/plugin/lib/src/media_store.dart +++ b/plugin/lib/src/media_store.dart @@ -1,5 +1,3 @@ -import 'dart:typed_data'; - import 'package:flutter/services.dart'; import 'package:logging/logging.dart'; import 'package:nc_photos_plugin/src/exception.dart';