saimobileapps_common 0.0.1 copy "saimobileapps_common: ^0.0.1" to clipboard
saimobileapps_common: ^0.0.1 copied to clipboard

Common libraries for SaiMobileApps

40/ 160
pub points
2
downloads

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

Failed report section
Follow Dart file conventions
10 / 30trigger folding of the section

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting saimobileapps_common... Discovering libraries... Linking elements... Precaching local docs for 691420 elements... Initialized dartdoc with 1416 libraries Generating docs for library url_launcher.dart from package:saimobileapps_common/url_launcher.dart... Generating docs for library network.dart from package:saimobileapps_common/network.dart... Generating docs for library storage.dart from package:saimobileapps_common/storage.dart... Generating docs for library auth.dart from package:saimobileapps_common/auth.dart... Generating docs for library notifications.dart from package:saimobileapps_common/notifications.dart... [16 more lines] ERR: warning: core has no library level documentation comments from core: (file:///tmp/pana_TNXYPY/lib/network.dart:1:1) warning: core has no library level documentation comments from core: (file:///tmp/pana_TNXYPY/lib/core.dart:1:1) error: file already written at "core/index.html" for symbol core: (file:///tmp/pana_TNXYPY/lib/core.dart:1:1) conflicting with file already generated by core: (file:///tmp/pana_TNXYPY/lib/network.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'core' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [18 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:saimobileapps_common/auth.dart that imports:
  • package:saimobileapps_common/src/auth/auth_repository.dart that imports:
  • package:saimobileapps_common/storage.dart that imports:
  • package:saimobileapps_common/src/local_storage/auth_storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that declares support for platforms: Android, iOS, Linux.
Package does not support platform `Linux`.

Because:

  • package:saimobileapps_common/core.dart that imports:
  • package:saimobileapps_common/src/permission/permission_service.dart that imports:
  • package:saimobileapps_common/src/permission/permission_type.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:saimobileapps_common/auth.dart that imports:
  • package:saimobileapps_common/src/auth/auth_repository.dart that imports:
  • package:saimobileapps_common/storage.dart that imports:
  • package:saimobileapps_common/src/local_storage/auth_storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that declares support for platforms: Android, iOS, Linux.
Package does not support platform `Web`.

Because:

  • package:saimobileapps_common/auth.dart that imports:
  • package:saimobileapps_common/src/auth/auth_repository.dart that imports:
  • package:saimobileapps_common/storage.dart that imports:
  • package:saimobileapps_common/src/local_storage/auth_storage.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that declares support for platforms: Android, iOS, Linux.

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:saimobileapps_common/core.dart that imports:
  • package:saimobileapps_common/src/network/network_client.dart that imports:
  • package:saimobileapps_common/network.dart that imports:
  • package:saimobileapps_common/src/network/network.dart that imports:
  • package:saimobileapps_common/src/network/connectivity_info.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus_linux/connectivity_plus_linux.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:saimobileapps_common/core.dart that imports:
  • package:saimobileapps_common/src/network/network_client.dart that imports:
  • package:saimobileapps_common/network.dart that imports:
  • package:saimobileapps_common/src/network/network.dart that imports:
  • package:saimobileapps_common/src/network/connectivity_info.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus_linux/connectivity_plus_linux.dart that declares support for platforms: Linux.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 54 issues. Showing the first 2:

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

lib/src/ui/saimobileapps_theme.dart:40:20

   ╷
40 │         tabBarTheme: _baseTabBarTheme.copyWith(
   │ ┌────────────────────^
41 │ │         labelColor: Swatches.grey,
42 │ │         unselectedLabelColor: Colors.grey.shade400,
43 │ │       ),
   │ └───────^
   ╵

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

ERROR: The named parameter 'bodyText1' isn't defined.

lib/src/ui/saimobileapps_theme.dart:45:9

   ╷
45 │         bodyText1: _baseBodyText1.copyWith(color: Swatches.grey.shade400),
   │         ^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
collection ^1.16.0 1.19.1 1.19.1
connectivity_plus ^1.0.4 1.4.0 7.0.0
curl_logger_dio_interceptor ^0.0.3 0.0.3 1.0.1
device_info_plus ^3.2.2 3.2.4 12.3.0
dio ^4.0.6 4.0.6 5.9.0
dio_cache_interceptor ^3.2.7 3.4.2 4.0.5
dio_cache_interceptor_file_store ^1.1.0 1.2.2 1.2.3 Discontinued
flutter_secure_storage ^4.2.1 4.2.1 10.0.0
geocoding ^2.0.1 2.2.2 4.0.0
geolocator ^8.2.0 8.2.1 14.0.2
get_it ^7.1.3 7.7.0 9.2.0
image_picker ^0.8.4+4 0.8.9 1.2.1
intl ^0.17.0 0.17.0 0.20.2
jwt_decoder ^2.0.1 2.0.1 2.0.1
map_launcher ^2.2.2 2.5.0+1 4.4.2
package_info_plus ^1.4.0 1.4.2 9.0.0
permission_handler ^8.3.0 8.3.0 12.0.1
url_launcher ^6.0.12 6.3.2 6.3.2
uuid ^3.0.5 3.0.7 4.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
connectivity_plus_linux - 1.3.1 1.3.1 Discontinued
connectivity_plus_macos - 1.2.6 1.2.6 Discontinued
connectivity_plus_platform_interface - 1.2.4 2.0.1
connectivity_plus_web - 1.2.5 1.2.5 Discontinued
connectivity_plus_windows - 1.2.2 1.2.2 Discontinued
cross_file - 0.3.5+1 0.3.5+1
crypto - 3.0.7 3.0.7
dbus - 0.7.4 0.7.11
device_info_plus_linux - 2.1.1 5.0.0 Discontinued
device_info_plus_macos - 2.2.3 5.0.0 Discontinued
device_info_plus_platform_interface - 2.6.1 7.0.3
device_info_plus_web - 2.1.0 5.0.0 Discontinued
device_info_plus_windows - 2.1.1 6.0.0 Discontinued
ffi - 1.2.1 2.1.5
file - 6.1.4 7.0.1
file_selector_linux - 0.9.4 0.9.4
file_selector_macos - 0.9.5 0.9.5
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+5 0.9.3+5
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
geocoding_android - 3.3.1 4.0.1
geocoding_ios - 2.3.0 3.1.0
geocoding_platform_interface - 3.2.0 5.0.0
geolocator_android - 3.2.1 5.0.2
geolocator_apple - 2.3.13 2.3.13
geolocator_platform_interface - 4.2.6 4.2.6
geolocator_web - 2.2.1 4.1.3
geolocator_windows - 0.1.3 0.2.5
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+10 0.8.13+10
image_picker_for_web - 2.2.0 3.1.1
image_picker_ios - 0.8.13+3 0.8.13+3
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.1 2.11.1
image_picker_windows - 0.2.2 0.2.2
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 1.0.6 2.0.0
nm - 0.5.0 0.5.0
package_info_plus_linux - 1.0.5 2.0.0 Discontinued
package_info_plus_macos - 1.3.0 2.0.0 Discontinued
package_info_plus_platform_interface - 1.0.2 3.2.1
package_info_plus_web - 1.0.6 2.0.0 Discontinued
package_info_plus_windows - 1.0.5 3.0.0 Discontinued
path - 1.9.1 1.9.1
permission_handler_platform_interface - 3.12.0 4.3.0
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.3.6 6.3.6
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 2.6.1 5.15.0
xml - 6.6.1 6.6.1

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

Found 16 issues. Showing the first 2:

The constraint `^1.0.4` on connectivity_plus does not support the stable version `2.0.0`.

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

The constraint `^0.0.3` on curl_logger_dio_interceptor does not support the stable version `1.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 9 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/ui/saimobileapps_theme.dart:40:20 - The argument type 'TabBarTheme' can't be assigned to the parameter type 'TabBarThemeData?'.
  • UNDEFINED_NAMED_PARAMETER - lib/src/ui/saimobileapps_theme.dart:45:9 - The named parameter 'bodyText1' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/ui/saimobileapps_theme.dart:46:9 - The named parameter 'bodyText2' isn't defined.

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.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: