Upgrade flutter_lints dependency. Lint code according to the use_string_in_part_of_directives rule.
This commit is contained in:
parent
88f50f1406
commit
e8c1d71d0a
@ -1,4 +1,4 @@
|
|||||||
part of photogallery;
|
part of '../../photo_gallery.dart';
|
||||||
|
|
||||||
/// A medium type.
|
/// A medium type.
|
||||||
enum MediumType {
|
enum MediumType {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
part of photogallery;
|
part of '../../photo_gallery.dart';
|
||||||
|
|
||||||
/// Fetches the given album thumbnail from the gallery.
|
/// Fetches the given album thumbnail from the gallery.
|
||||||
class AlbumThumbnailProvider extends ImageProvider<AlbumThumbnailProvider> {
|
class AlbumThumbnailProvider extends ImageProvider<AlbumThumbnailProvider> {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
part of photogallery;
|
part of '../../photo_gallery.dart';
|
||||||
|
|
||||||
/// Fetches the given image from the gallery.
|
/// Fetches the given image from the gallery.
|
||||||
class PhotoProvider extends ImageProvider<PhotoProvider> {
|
class PhotoProvider extends ImageProvider<PhotoProvider> {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
part of photogallery;
|
part of '../../photo_gallery.dart';
|
||||||
|
|
||||||
/// Fetches the given medium thumbnail from the gallery.
|
/// Fetches the given medium thumbnail from the gallery.
|
||||||
class ThumbnailProvider extends ImageProvider<ThumbnailProvider> {
|
class ThumbnailProvider extends ImageProvider<ThumbnailProvider> {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
part of photogallery;
|
part of '../../photo_gallery.dart';
|
||||||
|
|
||||||
/// A album in the gallery.
|
/// A album in the gallery.
|
||||||
@immutable
|
@immutable
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
part of photogallery;
|
part of '../../photo_gallery.dart';
|
||||||
|
|
||||||
/// A list of media with pagination support.
|
/// A list of media with pagination support.
|
||||||
@immutable
|
@immutable
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
part of photogallery;
|
part of '../../photo_gallery.dart';
|
||||||
|
|
||||||
/// A medium in the gallery.
|
/// A medium in the gallery.
|
||||||
///
|
///
|
||||||
|
@ -20,7 +20,7 @@ dev_dependencies:
|
|||||||
# activated in the `analysis_options.yaml` file located at the root of your
|
# activated in the `analysis_options.yaml` file located at the root of your
|
||||||
# package. See that file for information about deactivating specific lint
|
# package. See that file for information about deactivating specific lint
|
||||||
# rules and activating additional ones.
|
# 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
|
# For information on the generic Dart part of this file, see the
|
||||||
# following page: https://dart.dev/tools/pub/pubspec
|
# following page: https://dart.dev/tools/pub/pubspec
|
||||||
|
Loading…
x
Reference in New Issue
Block a user