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
100/ 140
pub points
0%
popularity

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

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 400 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.

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

OK
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:
  • package:infra_custom_widget/widgets/texts.dart that imports:
  • package:flutter_screenutil/flutter_screenutil.dart that imports:
  • package:flutter_screenutil/src/size_extension.dart that imports:
  • package:flutter_screenutil/src/screen_util.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.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 15 issues. Showing the first 2:

INFO: 'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead. Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. This feature was deprecated after v3.12.0-2.0.pre.

lib/widgets/texts.dart:22:7

   ╷
22 │       textScaleFactor: scaleFactor,
   │       ^^^^^^^^^^^^^^^
   ╵

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

INFO: 'textScaleFactor' is deprecated and shouldn't be used. Use textScaler instead. Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. This feature was deprecated after v3.12.0-2.0.pre.

lib/widgets/texts.dart:87:7

   ╷
87 │       textScaleFactor: scaleFactor,
   │       ^^^^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 20trigger 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.3.1
dropdown_search ^3.0.1 3.0.1 5.0.6
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 6.1.0
flutter_screenutil ^5.6.1 5.9.0 5.9.0
flutter_svg ^0.23.0+1 0.23.0+1 2.0.10+1
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.1
image_picker ^0.8.6 0.8.9 1.1.0
intl ^0.17.0 0.17.0 0.19.0
loading_animations ^2.2.0 2.2.0 2.2.0
lottie ^1.4.2 1.4.3 3.1.0
path_provider ^2.0.11 2.1.3 2.1.3
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 9.0.0
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.5.0 3.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
cached_network_image_platform_interface - 4.0.0 4.0.0
cached_network_image_web - 1.1.1 1.1.1
characters - 1.3.0 1.3.0
chewie - 1.5.0 1.8.1
chewie_audio - 1.5.0 1.5.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
csslib - 0.17.3 1.0.0
cupertino_icons - 1.0.8 1.0.8
ffi - 2.1.2 2.1.2
file - 6.1.4 7.0.0
file_selector_linux - 0.9.2+1 0.9.2+1
file_selector_macos - 0.9.3+3 0.9.3+3
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+1 0.9.3+1
fixnum - 1.1.0 1.1.0
flutter_cache_manager - 3.3.1 3.3.2
flutter_layout_grid - 1.0.6 2.0.6
flutter_math_fork - 0.5.0 0.7.2
flutter_plugin_android_lifecycle - 2.0.19 2.0.19
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.4 0.15.4
http_parser - 4.0.2 4.0.2
image_picker_android - 0.8.10 0.8.10
image_picker_for_web - 2.2.0 3.0.4
image_picker_ios - 0.8.10+1 0.8.10+1
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.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
mime - 1.0.5 1.0.5
nested - 1.0.0 1.0.0
numerus - 1.1.1 2.2.0
octo_image - 2.0.0 2.0.0
path - 1.9.0 1.9.0
path_drawing - 0.5.1+1 1.0.1
path_parsing - 0.2.1 1.0.1
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
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
petitparser - 5.4.0 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
quiver - 3.2.1 3.2.1
rxdart - 0.27.7 0.27.7
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
sqflite - 2.3.3 2.3.3
sqflite_common - 2.5.4 2.5.4
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.1
tuple - 2.0.2 2.0.2
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
video_player - 2.8.6 2.8.6
video_player_android - 2.4.14 2.4.14
video_player_avfoundation - 2.5.7 2.5.7
video_player_platform_interface - 6.2.2 6.2.2
video_player_web - 2.3.0 2.3.0
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 - 0.5.1 0.5.1
webview_flutter - 2.8.0 4.7.0
webview_flutter_android - 2.10.4 3.16.0
webview_flutter_platform_interface - 1.9.5 2.10.0
webview_flutter_wkwebview - 2.9.5 3.13.0
win32 - 3.1.4 5.5.0
xdg_directories - 1.0.4 1.0.4
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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.