cab_sharing 1.0.1 copy "cab_sharing: ^1.0.1" to clipboard
cab_sharing: ^1.0.1 copied to clipboard

This a a cutsom cab sharing project that allows users to share cabs from campus to airport and vice-versa

2
likes
110/ 160
pub points
54
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

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

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

1 out of 4 API elements (25.0 %) have documentation comments.

Some symbols that are missing documentation: cab_sharing, cab_sharing.CabSharingSplashScreen, cab_sharing.CabSharingSplashScreen.CabSharingSplashScreen.new.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

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

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

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 36 issues. Showing the first 2:

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/screens/home.dart:76:53

   ╷
76 │               backgroundColor: kCommonBoxBackground.withOpacity(0.64),
   │                                                     ^^^^^^^^^^^
   ╵

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

INFO: 'EdgeInsets.fromWindowPadding' is deprecated and shouldn't be used. Use EdgeInsets.fromViewPadding instead. This feature was deprecated after v3.8.0-14.0.pre.

lib/src/screens/post_detail_page.dart:54:34

   ╷
54 │               final viewInsets = EdgeInsets.fromWindowPadding(
   │                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/screens/post_detail_page.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
build_runner_core ^7.2.7 7.3.2 9.1.2
cupertino_icons ^1.0.2 1.0.8 1.0.8
dio ^5.0.3 5.8.0+1 5.8.0+1
http ^0.13.4 0.13.6 1.4.0
json_annotation ^4.7.0 4.9.0 4.9.0
provider ^6.0.4 6.1.5 6.1.5
shared_preferences ^2.0.12 2.5.3 2.5.3
shimmer ^2.0.0 2.0.0 3.0.0
syncfusion_flutter_datepicker ^20.3.60 20.4.54 30.1.37
url_launcher ^6.0.20 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 85.0.0 85.0.0
analyzer - 7.5.2 7.5.2
async - 2.13.0 2.13.0
build - 2.4.2 2.5.4
build_config - 1.1.2 1.1.2
build_resolvers - 2.4.4 2.5.4
characters - 1.4.0 1.4.1
checked_yaml - 2.0.4 2.0.4
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
graphs - 2.3.2 2.3.2
http_parser - 4.1.2 4.1.2
intl - 0.19.0 0.20.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
nested - 1.0.0 1.0.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pool - 1.5.1 1.5.1
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
shared_preferences_android - 2.4.10 2.4.10
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
syncfusion_flutter_core - 20.4.54 30.1.38
term_glyph - 1.2.2 1.2.2
timing - 1.0.2 1.0.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
vector_math - 2.1.4 2.2.0
watcher - 1.1.2 1.1.2
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

Found 4 issues. Showing the first 2:

The constraint `^7.2.7` on build_runner_core does not support the stable version `8.0.0`.

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

The constraint `^0.13.4` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http 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 6 errors:

  • URI_DOES_NOT_EXIST - lib/src/services/launcher.dart:1:8 - Target of URI doesn't exist: 'package:url_launcher/url_launcher_string.dart'.
  • UNDEFINED_FUNCTION - lib/src/services/launcher.dart:5:13 - The function 'canLaunchUrlString' isn't defined.
  • UNDEFINED_FUNCTION - lib/src/services/launcher.dart:6:11 - The function 'launchUrlString' 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.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
110
points
54
downloads

Publisher

verified publisherswciitg.in

Weekly Downloads

This a a cutsom cab sharing project that allows users to share cabs from campus to airport and vice-versa

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

build_runner_core, cupertino_icons, dio, flutter, http, json_annotation, provider, shared_preferences, shimmer, syncfusion_flutter_datepicker, url_launcher

More

Packages that depend on cab_sharing