infra_custom_widget 1.0.22 copy "infra_custom_widget: ^1.0.22" to clipboard
infra_custom_widget: ^1.0.22 copied to clipboard

A Flutter package for both android and iOS which provides.

1
likes
120/ 160
pub points
125
downloads

We analyzed this package 21 hours ago, and awarded it 120 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger 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.

Repository URL doesn't exist.

At the time of the analysis https://gitlab.com/elef/pub-dev/infra_custom_widget was unreachable. Make sure that the website is reachable via HEAD requests.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

19 out of 398 API elements (4.8 %) 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: address_model, address_model.Address, address_model.Address.Address, address_model.Address.address, address_model.Address.kec.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger 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:infra_custom_widget/widgets/bottomsheet.dart that imports:
  • package:infra_custom_widget/widgets/cards.dart that imports:
  • package:infra_custom_widget/widgets/image_viewer.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:infra_custom_widget/widgets/bottomsheet.dart that imports:
  • package:infra_custom_widget/widgets/cards.dart that imports:
  • package:infra_custom_widget/widgets/image_viewer.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:infra_custom_widget/widgets/bottomsheet.dart that imports:
  • package:infra_custom_widget/widgets/cards.dart that imports:
  • package:infra_custom_widget/widgets/image_viewer.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 not compatible with platform Web

Because:

  • package:infra_custom_widget/widgets/appbars.dart that imports:
  • dart:io

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:infra_custom_widget/widgets/bottomsheet.dart that imports:
  • package:infra_custom_widget/widgets/cards.dart that imports:
  • package:infra_custom_widget/widgets/image_viewer.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:infra_custom_widget/widgets/bottomsheet.dart that imports:
  • package:infra_custom_widget/widgets/cards.dart that imports:
  • package:infra_custom_widget/widgets/image_viewer.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.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:infra_custom_widget/widgets/appbars.dart that imports:
  • package:get/get.dart that imports:
  • package:get/route_manager.dart that imports:
  • package:get/get_navigation/get_navigation.dart that imports:
  • package:get/get_navigation/src/root/get_material_app.dart that imports:
  • package:get/get_utils/get_utils.dart that imports:
  • package:get/get_utils/src/platform/platform.dart that imports:
  • package:get/get_utils/src/platform/platform_web.dart that imports:
  • dart:html

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 49 issues. Showing the first 2:

INFO: 'background' is deprecated and shouldn't be used. Use surface instead. This feature was deprecated after v3.18.0-0.1.pre.

lib/widgets/bottomsheet.dart:95:44

   ╷
95 │               color: Get.theme.colorScheme.background,
   │                                            ^^^^^^^^^^
   ╵

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

INFO: 'MaterialStateProperty' is deprecated and shouldn't be used. Use WidgetStateProperty instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/widgets/buttons.dart:21:28

   ╷
21 │           backgroundColor: MaterialStateProperty.all<Color?>(fillColor),
   │                            ^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
badges ^3.0.2 3.1.2 3.1.2
cached_network_image ^3.2.1 3.3.1 3.4.1
dropdown_search ^3.0.1 3.0.1 6.0.1
flutter flutter 0.0.0 0.0.0
flutter_html ^2.2.1 2.2.1 2.2.1
flutter_platform_widgets ^2.0.0 2.2.6 7.0.1
flutter_screenutil ^5.6.1 5.9.3 5.9.3
flutter_svg ^0.23.0+1 0.23.0+1 2.0.16
get ^4.6.5 4.6.6 4.6.6
google_fonts ^3.0.1 3.0.1 6.2.1
http ^0.13.5 0.13.6 1.2.2
image_picker ^0.8.6 0.8.9 1.1.2
intl ^0.17.0 0.17.0 0.20.1
loading_animations ^2.2.0 2.2.0 2.2.0
lottie ^1.4.2 1.4.3 3.3.0
path_provider ^2.0.11 2.1.5 2.1.5
photo_view ^0.14.0 0.14.0 0.15.0
pin_code_fields ^7.4.0 7.4.0 8.0.1
qr_code_scanner ^1.0.1 1.0.1 1.0.1
share_plus ^6.3.0 6.3.4 10.1.3
shimmer ^2.0.0 2.0.0 3.0.0
timeline_tile ^2.0.0 2.0.0 2.0.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 4.0.2
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
characters - 1.3.0 1.4.0
chewie - 1.5.0 1.8.5
chewie_audio - 1.5.0 1.5.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
csslib - 0.17.3 1.0.2
cupertino_icons - 1.0.8 1.0.8
ffi - 2.1.3 2.1.3
file - 6.1.4 7.0.1
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+2 0.9.4+2
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+3 0.9.3+3
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.3.1 3.4.1
flutter_layout_grid - 1.0.6 2.0.7
flutter_math_fork - 0.5.0 0.7.3
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.4 0.15.5
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.12+19 0.8.12+19
image_picker_for_web - 2.2.0 3.0.6
image_picker_ios - 0.8.12+2 0.8.12+2
image_picker_linux - 0.2.1+1 0.2.1+1
image_picker_macos - 0.2.1+1 0.2.1+1
image_picker_platform_interface - 2.10.0 2.10.0
image_picker_windows - 0.2.1+1 0.2.1+1
js - 0.6.7 0.7.1
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
nested - 1.0.0 1.0.0
numerus - 1.1.1 2.3.0
octo_image - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_drawing - 0.5.1+1 1.0.1
path_parsing - 0.2.1 1.1.0
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 5.4.0 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
quiver - 3.2.2 3.2.2
rxdart - 0.27.7 0.28.0
share_plus_platform_interface - 3.4.0 5.0.2
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1+1 2.4.1+1
sqflite_platform_interface - 2.4.0 2.4.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
url_launcher_linux - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
video_player - 2.9.2 2.9.2
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.5 2.6.5
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
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.1 0.2.1
web - 1.1.0 1.1.0
webview_flutter - 2.8.0 4.10.0
webview_flutter_android - 2.10.4 4.2.0
webview_flutter_platform_interface - 1.9.5 2.10.0
webview_flutter_wkwebview - 2.9.5 3.16.3
win32 - 3.1.4 5.10.0
xdg_directories - 1.1.0 1.1.0
xml - 5.4.1 6.5.0

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

Found 12 issues. Showing the first 2:

The constraint `^3.0.1` on dropdown_search does not support the stable version `4.0.0`.

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

The constraint `^2.0.0` on flutter_platform_widgets does not support the stable version `3.0.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.