modern_form 1.49.0 icon indicating copy to clipboard operation
modern_form: ^1.49.0 copied to clipboard

Utils widgets

2
likes
50/ 140
pub points
47%
popularity

We analyzed this package 26 hours ago, and awarded it 50 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
20 / 30icon to trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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.

icon indicating section status
Provide documentation
0 / 20icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 64 out of 899 API elements (7.1 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:modern_form/modern_form.dart that imports:
  • package:modern_form/modern_form_videos.dart that imports:
  • package:modern_form/src/videos/helpers/view/mobile/ModerFormViewVideo-mobile_helper.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:modern_form/modern_form.dart that imports:
  • package:modern_form/modern_form_videos.dart that imports:
  • package:modern_form/src/videos/helpers/view/mobile/ModerFormViewVideo-mobile_helper.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:modern_form/modern_form.dart that imports:
  • package:modern_form/modern_form_videos.dart that imports:
  • package:modern_form/src/videos/helpers/view/mobile/ModerFormViewVideo-mobile_helper.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:modern_form/modern_form.dart that imports:
  • package:modern_form/modern_form_videos.dart that imports:
  • package:modern_form/src/videos/helpers/view/web/ModerFormViewVideo-web_helper.dart that imports:
  • package:modern_form/modern_form_core.dart that imports:
  • package:modern_form/src/core/helpers/share/web/implementation.dart that imports:
  • package:share_plus/share_plus.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:modern_form/modern_form.dart that imports:
  • package:modern_form/modern_form_videos.dart that imports:
  • package:modern_form/src/videos/helpers/view/mobile/ModerFormViewVideo-mobile_helper.dart that imports:
  • package:modern_form/modern_form_core.dart that imports:
  • package:modern_form/src/core/widgets/images/ImageProviderWidget/network/ImageProviderWidgetNetwork_mobile.dart that imports:
  • package:modern_form/src/core/widgets/images/ImageWidget/network/CustomNetWorkImage_mobile.dart that imports:
  • package:modern_form/modern_form_files.dart that imports:
  • package:modern_form/src/files/helpers/mobile/file-mobile_helper.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:modern_form/modern_form.dart that imports:
  • package:modern_form/modern_form_videos.dart that imports:
  • package:modern_form/src/videos/helpers/view/mobile/ModerFormViewVideo-mobile_helper.dart that imports:
  • package:modern_form/modern_form_core.dart that imports:
  • package:modern_form/src/core/widgets/images/ImageProviderWidget/network/ImageProviderWidgetNetwork_mobile.dart that imports:
  • package:modern_form/src/core/widgets/images/ImageWidget/network/CustomNetWorkImage_mobile.dart that imports:
  • package:modern_form/modern_form_files.dart that imports:
  • package:modern_form/src/files/helpers/mobile/file-mobile_helper.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
icon indicating section status
Pass static analysis
0 / 30icon to trigger folding of the section

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

Found 21 issues. Showing the first 2:

ERROR: The argument type 'String?' can't be assigned to the parameter type 'String'.

lib/src/core/helpers/links_helper.dart:27:51

   ╷
27 │       await Clipboard.setData(ClipboardData(text: text));
   │                                                   ^^^^
   ╵

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

ERROR: The argument type 'String?' can't be assigned to the parameter type 'String'.

lib/src/images/helpers/image_helper.dart:119:51

    ╷
119 │       await Clipboard.setData(ClipboardData(text: value));
    │                                                   ^^^^^
    ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

Package Constraint Compatible Latest
another_flushbar >=1.10.24 <2.0.0 1.12.30 1.12.30
cached_network_image >=3.1.0 <4.0.0 3.2.3 3.2.3
collection >=1.15.0-nullsafety.4 <2.0.0 1.17.1 1.17.2
extended_masked_text >=2.3.1 <3.0.0 2.3.1 2.3.1
file_picker >=4.3.2 <5.0.0 4.6.1 5.3.2
flick_video_player >=0.3.1 <1.0.0 0.5.0 0.5.0
flutter flutter 0.0.0 0.0.0
flutter_datetime_picker >=1.5.1 <2.0.0 1.5.1 1.5.1
flutter_keyboard_visibility >=5.1.1 <6.0.0 5.4.1 5.4.1
flutter_screenutil >=5.0.0+2 <6.0.0 5.8.4 5.8.4
get >=4.3.8 <5.0.0 4.6.5 4.6.5
http >=0.13.3 <1.0.0 0.13.6 1.0.0
image_picker >=0.8.4+2 <1.0.0 0.8.7+5 0.8.7+5
image_picker_for_web >=2.1.3 <3.0.0 2.1.12 2.1.12
image_picker_platform_interface >=2.4.1 <3.0.0 2.6.4 2.6.4
intl >=0.17.0 <1.0.0 0.18.1 0.18.1
modern_form_popupmenu >=1.0.2 <2.0.0 1.0.2 1.0.2
open_filex >=3.4.0 <4.0.0 3.4.0 4.3.2
path_provider >=2.0.5 <3.0.0 2.0.15 2.0.15
photo_view >=0.13.0 <1.0.0 0.14.0 0.14.0
rxdart >=0.27.2 <1.0.0 0.27.7 0.27.7
share_plus >=4.0.4 <5.0.0 4.5.3 7.0.2
synchronized >=3.0.0 <4.0.0 3.1.0 3.1.0
url_launcher >=6.0.18 <7.0.0 6.1.11 6.1.11
video_player >=2.2.14 <3.0.0 2.6.1 2.6.1
visibility_detector >=0.2.2 <1.0.0 0.4.0+2 0.4.0+2
youtube_explode_dart >=1.10.9+1 <2.0.0 1.12.4 1.12.4
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
cached_network_image_platform_interface - 2.0.0 2.0.0
cached_network_image_web - 1.0.2 1.0.2
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
clock - 1.1.1 1.1.1
cross_file - 0.3.3+4 0.3.3+4
crypto - 3.0.3 3.0.3
csslib - 0.17.3 1.0.0
ffi - 1.2.1 2.0.2
file - 6.1.4 7.0.0
flutter_blurhash - 0.7.0 0.7.0
flutter_cache_manager - 3.3.0 3.3.0
flutter_keyboard_visibility_linux - 1.0.0 1.0.0
flutter_keyboard_visibility_macos - 1.0.0 1.0.0
flutter_keyboard_visibility_platform_interface - 2.0.0 2.0.0
flutter_keyboard_visibility_web - 2.0.0 2.0.0
flutter_keyboard_visibility_windows - 1.0.0 1.0.0
flutter_plugin_android_lifecycle - 2.0.15 2.0.15
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.2.0 2.2.0
html - 0.15.4 0.15.4
http_parser - 4.0.2 4.0.2
image_picker_android - 0.8.6+20 0.8.6+20
image_picker_ios - 0.8.7+4 0.8.7+4
js - 0.6.7 0.6.7
json_annotation - 4.8.1 4.8.1
material_color_utilities - 0.2.0 0.5.0
meta - 1.9.1 1.9.1
mime - 1.0.4 1.0.4
nested - 1.0.0 1.0.0
octo_image - 1.0.2 1.0.2
path - 1.8.3 1.8.3
path_provider_android - 2.0.27 2.0.27
path_provider_foundation - 2.2.3 2.2.3
path_provider_linux - 2.1.11 2.1.11
path_provider_platform_interface - 2.0.6 2.0.6
path_provider_windows - 2.0.7 2.1.7
pedantic - 1.11.1 1.11.1
petitparser - 5.4.0 5.4.0
platform - 3.1.0 3.1.0
plugin_platform_interface - 2.1.4 2.1.4
process - 4.2.4 4.2.4
provider - 6.0.5 6.0.5
share_plus_linux - 3.0.1 3.0.1
share_plus_macos - 3.0.1 3.0.1
share_plus_platform_interface - 3.2.1 3.2.1
share_plus_web - 3.1.0 3.1.0
share_plus_windows - 3.0.1 4.0.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sqflite - 2.2.8+4 2.2.8+4
sqflite_common - 2.4.5 2.4.5
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
universal_html - 2.2.3 2.2.3
universal_io - 2.2.2 2.2.2
url_launcher_android - 6.0.35 6.0.35
url_launcher_ios - 6.1.4 6.1.4
url_launcher_linux - 3.0.5 3.0.5
url_launcher_macos - 3.0.5 3.0.5
url_launcher_platform_interface - 2.1.2 2.1.2
url_launcher_web - 2.0.17 2.0.17
url_launcher_windows - 3.0.6 3.0.6
uuid - 3.0.7 3.0.7
vector_math - 2.1.4 2.1.4
video_player_android - 2.4.9 2.4.9
video_player_avfoundation - 2.4.6 2.4.6
video_player_platform_interface - 6.1.0 6.1.0
video_player_web - 2.0.16 2.0.16
wakelock - 0.6.2 0.6.2
wakelock_macos - 0.4.0 0.4.0
wakelock_platform_interface - 0.3.0 0.3.0
wakelock_web - 0.4.0 0.4.0
wakelock_windows - 0.2.0 0.2.1
win32 - 2.6.1 5.0.3
xdg_directories - 1.0.0 1.0.0
xml - 6.3.0 6.3.0

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

Found 4 issues. Showing the first 2:

The constraint `>=4.3.2 <5.0.0` on file_picker does not support the stable version `5.0.0`.

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

The constraint `>=0.13.3 <1.0.0` on http does not support the stable version `1.0.0`, that was published 17 days ago.

When http is 30 days old, this package will no longer be awarded points in this category.

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

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

icon indicating section status
Dart 3 & Flutter 3.10 compatibility
0 / 20icon to trigger folding of the section

0/20 points: Dart 3 & Flutter 3.10 compatibility has one or more issues.

ERROR: The argument type 'String?' can't be assigned to the parameter type 'String'.

lib/src/core/helpers/links_helper.dart:27:51

   ╷
27 │       await Clipboard.setData(ClipboardData(text: text));
   │                                                   ^^^^
   ╵

To reproduce make sure you are using Dart 3 & Flutter 3.10 and run flutter analyze lib/src/core/helpers/links_helper.dart

ERROR: The argument type 'String?' can't be assigned to the parameter type 'String'.

lib/src/images/helpers/image_helper.dart:119:51

    ╷
119 │       await Clipboard.setData(ClipboardData(text: value));
    │                                                   ^^^^^
    ╵

To reproduce make sure you are using Dart 3 & Flutter 3.10 and run flutter analyze lib/src/images/helpers/image_helper.dart

Analysed with Pana 0.21.32, Flutter 3.10.2, Dart 3.0.2.