booking_card_layout 0.0.11 booking_card_layout: ^0.0.11 copied to clipboard
This package is designed for taxivaxi. This package contains layouts which are used in all taxivaxi apps. This package contains layouts for taxi,hotel,bus,flight and train
We analyzed this package 6 days ago, and awarded it 120 pub points (of a possible 140):
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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting booking_card_layout... Discovering libraries... Linking elements... Precaching local docs for 1098914 elements... Initialized dartdoc with 1079 libraries Generating docs for library bus_booking_layout.dart from package:booking_card_layout/bus_booking_layout.dart... Generating docs for library hotel_card_layout.dart from package:booking_card_layout/hotel_card_layout.dart... Generating docs for library device.dart from package:booking_card_layout/device.dart... Generating docs for library flight_card_layout.dart from package:booking_card_layout/flight_card_layout.dart... Generating docs for library train_card_layout.dart from package:booking_card_layout/train_card_layout.dart... [4 more lines] ERR: warning: booking_card_layout has no library level documentation comments from booking_card_layout: (file:///tmp/pana_FBIAPT/lib/hotel_card_layout.dart:1:9) warning: booking_card_layout has no library level documentation comments from booking_card_layout: (file:///tmp/pana_FBIAPT/lib/train_card_layout.dart:1:9) error: file already written at "booking_card_layout/booking_card_layout-library.html" for symbol booking_card_layout: (file:///tmp/pana_FBIAPT/lib/train_card_layout.dart:1:9) conflicting with file already generated by booking_card_layout: (file:///tmp/pana_FBIAPT/lib/hotel_card_layout.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. 'booking_card_layout' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library [21 more lines]
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ macOS
- ✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:booking_card_layout/bus_booking_layout.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:booking_card_layout/bus_booking_layout.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `macOS`.
Because:
package:booking_card_layout/flight_card_layout.dart
that imports:package:flutter_phone_direct_caller/flutter_phone_direct_caller.dart
that declares support for platforms:Android
,iOS
.
Package not compatible with platform Web
Because:
package:booking_card_layout/bus_booking_layout.dart
that imports:package:booking_card_layout/constants.dart
that imports:package:booking_card_layout/device.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 21 issues. Showing the first 2:
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/device.dart:6:39
╷
6 │ static double devicePixelRatio = ui.window.devicePixelRatio;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/device.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/device.dart:7:28
╷
7 │ static ui.Size size = ui.window.physicalSize;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/device.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_phone_direct_caller |
any |
2.1.1 | 2.1.1 |
font_awesome_flutter |
any |
10.7.0 | 10.7.0 |
google_fonts |
any |
6.2.1 | 6.2.1 |
intl |
any |
0.19.0 | 0.19.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
crypto |
- | 3.0.3 | 3.0.3 |
ffi |
- | 2.1.2 | 2.1.2 |
http |
- | 1.2.1 | 1.2.1 |
http_parser |
- | 4.0.2 | 4.0.2 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
path |
- | 1.9.0 | 1.9.0 |
path_provider |
- | 2.1.3 | 2.1.3 |
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 |
platform |
- | 3.1.4 | 3.1.4 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 0.5.1 |
win32 |
- | 5.5.0 | 5.5.0 |
xdg_directories |
- | 1.0.4 | 1.0.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.