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
50
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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.

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

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
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
build_runner_core ^7.2.7 7.3.2 8.0.0
cupertino_icons ^1.0.2 1.0.8 1.0.8
dio ^5.0.3 5.7.0 5.7.0
flutter flutter 0.0.0 0.0.0
http ^0.13.4 0.13.6 1.2.2
json_annotation ^4.7.0 4.9.0 4.9.0
provider ^6.0.4 6.1.2 6.1.2
shared_preferences ^2.0.12 2.3.4 2.3.4
shimmer ^2.0.0 2.0.0 3.0.0
syncfusion_flutter_datepicker ^20.3.60 20.4.54 28.1.35
url_launcher ^6.0.20 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 78.0.0 78.0.0
_macros - 0.3.3 0.3.3
analyzer - 7.1.0 7.1.0
async - 2.12.0 2.12.0
build - 2.4.2 2.4.2
build_config - 1.1.2 1.1.2
build_resolvers - 2.4.3 2.4.3
characters - 1.3.0 1.4.0
checked_yaml - 2.0.3 2.0.3
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
graphs - 2.3.2 2.3.2
http_parser - 4.1.1 4.1.1
intl - 0.19.0 0.20.1
logging - 1.3.0 1.3.0
macros - 0.1.3-main.0 0.1.3-main.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
package_config - 2.1.1 2.1.1
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.1.5 2.1.5
pubspec_parse - 1.4.0 1.4.0
shared_preferences_android - 2.4.0 2.4.0
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.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
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 28.1.35
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.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
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.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_math - 2.1.4 2.1.4
watcher - 1.1.1 1.1.1
web - 1.1.0 1.1.0
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`, that was published 3 days ago.

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

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.

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

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

2
likes
110
points
50
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