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

1
likes
100/ 160
pub points
0%
popularity

We analyzed this package 5 days ago, and awarded it 100 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

Homepage URL doesn't exist.

At the time of the analysis https://swc.iitg.ac.in/swc 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: 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 35 issues. Showing the first 2:

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

INFO: 'window' is deprecated and shouldn't be used. Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.

lib/src/screens/post_detail_page.dart:55:43

   ╷
55 │                   WidgetsBinding.instance.window.viewInsets,
   │                                           ^^^^^^
   ╵

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 7.3.2
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.2 2.3.2
shimmer ^2.0.0 2.0.0 3.0.0
syncfusion_flutter_datepicker ^20.3.60 20.4.54 26.2.14
url_launcher ^6.0.20 6.3.0 6.3.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 72.0.0 74.0.0
_macros - 0.3.2 0.3.2
analyzer - 6.7.0 6.9.0
async - 2.11.0 2.11.0
build - 2.4.1 2.4.1
build_config - 1.1.1 1.1.1
build_resolvers - 2.4.2 2.4.2
characters - 1.3.0 1.3.0
checked_yaml - 2.0.3 2.0.3
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
convert - 3.1.1 3.1.1
crypto - 3.0.5 3.0.5
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.0 7.0.0
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.0.2 4.1.0
intl - 0.19.0 0.19.0
logging - 1.2.0 1.2.0
macros - 0.1.2-main.4 0.1.3-main.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.15.0
nested - 1.0.0 1.0.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
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.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
pool - 1.5.1 1.5.1
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.3.0 1.3.0
shared_preferences_android - 2.3.2 2.3.2
shared_preferences_foundation - 2.5.2 2.5.2
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.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_transform - 2.1.0 2.1.0
string_scanner - 1.3.0 1.3.0
syncfusion_flutter_core - 20.4.54 26.2.14
term_glyph - 1.2.1 1.2.1
timing - 1.0.1 1.0.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.10 6.3.10
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.0 3.2.0
url_launcher_macos - 3.2.0 3.2.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.2 3.1.2
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 1.0.0 1.0.0
xdg_directories - 1.0.4 1.0.4
yaml - 3.1.2 3.1.2

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

Found 3 issues. Showing the first 2:

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.

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

Try running dart pub upgrade --major-versions shimmer 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.12, Flutter 3.24.2, Dart 3.5.2.

Check the analysis log for details.

1
likes
100
pub points
0%
popularity

Publisher

verified publisherswciitg.in

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