Upgrade flutter_lints dependency. Lint code according to the use_string_in_part_of_directives rule.

This commit is contained in:
Wenqi Li 2024-03-25 03:37:31 +08:00
parent 88f50f1406
commit e8c1d71d0a
8 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
part of photogallery;
part of '../../photo_gallery.dart';
/// A medium type.
enum MediumType {

View File

@ -1,4 +1,4 @@
part of photogallery;
part of '../../photo_gallery.dart';
/// Fetches the given album thumbnail from the gallery.
class AlbumThumbnailProvider extends ImageProvider<AlbumThumbnailProvider> {

View File

@ -1,4 +1,4 @@
part of photogallery;
part of '../../photo_gallery.dart';
/// Fetches the given image from the gallery.
class PhotoProvider extends ImageProvider<PhotoProvider> {

View File

@ -1,4 +1,4 @@
part of photogallery;
part of '../../photo_gallery.dart';
/// Fetches the given medium thumbnail from the gallery.
class ThumbnailProvider extends ImageProvider<ThumbnailProvider> {

View File

@ -1,4 +1,4 @@
part of photogallery;
part of '../../photo_gallery.dart';
/// A album in the gallery.
@immutable

View File

@ -1,4 +1,4 @@
part of photogallery;
part of '../../photo_gallery.dart';
/// A list of media with pagination support.
@immutable

View File

@ -1,4 +1,4 @@
part of photogallery;
part of '../../photo_gallery.dart';
/// A medium in the gallery.
///

View File

@ -20,7 +20,7 @@ dev_dependencies:
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^2.0.0
flutter_lints: ^3.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec