interactive_gallery 1.0.4 copy "interactive_gallery: ^1.0.4" to clipboard
interactive_gallery: ^1.0.4 copied to clipboard

A flutter package to get an interactive gallery, with multiple actions and views

2
likes
80/ 160
pub points
7%
popularity

We analyzed this package 2 days ago, and awarded it 80 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

20 out of 29 API elements (69.0 %) have documentation comments.

Some symbols that are missing documentation: interactive_gallery, interactive_gallery.ImageScroller.borderRadius, interactive_gallery.ImageScroller.color, interactive_gallery.ImageScroller.height, interactive_gallery.ImageScroller.imageList.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:interactive_gallery/interactive_gallery.dart that imports:
  • package:interactive_gallery/src/gallery.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_web.dart that imports:
  • package:share_plus_platform_interface/share_plus_platform_interface.dart that imports:
  • package:share_plus_platform_interface/platform_interface/share_plus_platform.dart that imports:
  • package:share_plus_platform_interface/method_channel/method_channel_share.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:interactive_gallery/interactive_gallery.dart that imports:
  • package:interactive_gallery/src/gallery.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:interactive_gallery/interactive_gallery.dart that imports:
  • package:interactive_gallery/src/gallery.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:interactive_gallery/interactive_gallery.dart that imports:
  • package:interactive_gallery/src/gallery.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_linux.dart that imports:
  • package:url_launcher_linux/url_launcher_linux.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:interactive_gallery/interactive_gallery.dart that imports:
  • package:interactive_gallery/src/gallery.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:interactive_gallery/interactive_gallery.dart that imports:
  • package:interactive_gallery/src/gallery.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

ERROR: The method 'PersistentBottomSheetController Function(Widget Function(BuildContext), {Color? backgroundColor, Clip? clipBehavior, BoxConstraints? constraints, double? elevation, bool? enableDrag, ShapeBorder? shape, AnimationStyle? sheetAnimationStyle, bool? showDragHandle, AnimationController? transitionAnimationController})' is declared with 0 type parameters, but 1 type arguments are given.

lib/src/gallery.dart:550:48

    ╷
550 │         Scaffold.of(theContext).showBottomSheet<void>(
    │                                                ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/gallery.dart

INFO: 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre.

lib/src/gallery.dart:91:12

   ╷
91 │     return WillPopScope(
   │            ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/gallery.dart

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
http ^1.1.0 1.2.1 1.2.1
share_plus ^7.1.0 7.2.2 9.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
mime - 1.0.5 1.0.5
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.6 2.2.6
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
share_plus_platform_interface - 3.4.0 4.0.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_linux - 3.1.1 3.1.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^7.1.0` on share_plus does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions share_plus to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • WRONG_NUMBER_OF_TYPE_ARGUMENTS_METHOD - lib/src/gallery.dart:550:48 - The method 'PersistentBottomSheetController Function(Widget Function(BuildContext), {Color? backgroundColor, Clip? clipBehavior, BoxConstraints? constraints, double? elevation, bool? enableDrag, ShapeBorder? shape, AnimationStyle? sheetAnimationStyle, bool? showDragHandle, AnimationController? transitionAnimationController})' is declared with 0 type parameters, but 1 type arguments are given.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.7, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

2
likes
80
pub points
7%
popularity

Publisher

unverified uploader

A flutter package to get an interactive gallery, with multiple actions and views

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, http, share_plus

More

Packages that depend on interactive_gallery