flutter_debug_overlay 0.1.8 flutter_debug_overlay: ^0.1.8 copied to clipboard
Flutter package for implementing a debug overlay in your app, providing features like log viewers, HTTP request inspectors, and customizable widgets for easy debugging.
We analyzed this package 5 days ago, and awarded it 140 pub points (of a possible 160):
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
.
10/10 points: 20% or more of the public API has dartdoc comments
114 out of 232 API elements (49.1 %) have documentation comments.
Some symbols that are missing documentation: flutter_debug_overlay.Bucket.allowDuplicates
, flutter_debug_overlay.Bucket.clear
, flutter_debug_overlay.Bucket.entries
, flutter_debug_overlay.DebugAction.name
, flutter_debug_overlay.DebugAction.onAction
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ 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 `Android`.
Because:
package:flutter_debug_overlay/flutter_debug_overlay.dart
that imports:package:flutter_debug_overlay/src/util/log_bucket.dart
that imports:package:flutter_debug_overlay/src/util/bucket.dart
that imports:package:flutter_debug_overlay/src/debug_overlay.dart
that imports:package:flutter_debug_overlay/src/info/entry/platform_entry.dart
that imports:package:flutter_debug_overlay/src/debug_info_entry.dart
that imports:package:flutter_debug_overlay/src/info/entry/device_entry.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:flutter_debug_overlay/flutter_debug_overlay.dart
that imports:package:flutter_debug_overlay/src/util/log_bucket.dart
that imports:package:flutter_debug_overlay/src/util/bucket.dart
that imports:package:flutter_debug_overlay/src/debug_overlay.dart
that imports:package:flutter_debug_overlay/src/info/entry/platform_entry.dart
that imports:package:flutter_debug_overlay/src/debug_info_entry.dart
that imports:package:flutter_debug_overlay/src/info/entry/device_entry.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `Linux`.
Because:
package:flutter_debug_overlay/flutter_debug_overlay.dart
that imports:package:flutter_debug_overlay/src/util/log_bucket.dart
that imports:package:flutter_debug_overlay/src/util/bucket.dart
that imports:package:flutter_debug_overlay/src/debug_overlay.dart
that imports:package:flutter_debug_overlay/src/info/entry/platform_entry.dart
that imports:package:flutter_debug_overlay/src/debug_info_entry.dart
that imports:package:flutter_debug_overlay/src/info/entry/device_entry.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:flutter_debug_overlay/flutter_debug_overlay.dart
that imports:package:flutter_debug_overlay/src/util/log_bucket.dart
that imports:package:flutter_debug_overlay/src/util/bucket.dart
that imports:package:flutter_debug_overlay/src/debug_overlay.dart
that imports:package:flutter_debug_overlay/src/info/entry/platform_entry.dart
that imports:package:flutter_debug_overlay/src/debug_info_entry.dart
that imports:package:flutter_debug_overlay/src/info/entry/device_entry.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package not compatible with platform Web
Because:
package:flutter_debug_overlay/flutter_debug_overlay.dart
that imports:package:flutter_debug_overlay/src/util/log_bucket.dart
that imports:package:flutter_debug_overlay/src/util/bucket.dart
that imports:package:flutter_debug_overlay/src/debug_overlay.dart
that imports:package:flutter_debug_overlay/src/util/http_bucket.dart
that imports:package:flutter_debug_overlay/src/http_log/http_interaction.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_debug_overlay/flutter_debug_overlay.dart
that imports:package:flutter_debug_overlay/src/util/log_bucket.dart
that imports:package:flutter_debug_overlay/src/util/bucket.dart
that imports:package:flutter_debug_overlay/src/debug_overlay.dart
that imports:package:flutter_debug_overlay/src/util/http_bucket.dart
that imports:package:flutter_debug_overlay/src/http_log/http_interaction.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/debug_overlay.dart:283:18
╷
283 │ .withOpacity(widget.opacity),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/debug_overlay.dart
INFO: 'surfaceVariant' is deprecated and shouldn't be used. Use surfaceContainerHighest instead. This feature was deprecated after v3.18.0-0.1.pre.
lib/src/util/page_tabs.dart:50:58
╷
50 │ color: Theme.of(context).colorScheme.surfaceVariant,
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/util/page_tabs.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.17.0 |
1.19.0 | 1.19.1 |
device_info_plus |
>=8.0.0 <11.0.0 |
10.1.2 | 11.2.0 |
dio |
^5.2.0 |
5.7.0 | 5.7.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_json |
^0.0.1 |
0.0.4 | 0.0.4 |
http |
^1.0.0 |
1.2.2 | 1.2.2 |
http_parser |
^4.0.2 |
4.1.1 | 4.1.1 |
multi_long_press_gesture_recognizer |
^0.0.1 |
0.0.2 | 0.0.2 |
package_info_plus |
>=4.0.2 <9.0.0 |
8.1.2 | 8.1.2 |
split_view |
^3.2.1 |
3.2.1 | 3.2.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.2 | 1.1.2 |
device_info_plus_platform_interface |
- | 7.0.2 | 7.0.2 |
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 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
package_info_plus_platform_interface |
- | 3.0.2 | 3.0.2 |
path |
- | 1.9.1 | 1.9.1 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
string_scanner |
- | 1.4.1 | 1.4.1 |
term_glyph |
- | 1.2.2 | 1.2.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
win32 |
- | 5.9.0 | 5.9.0 |
win32_registry |
- | 1.1.5 | 2.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `>=8.0.0 <11.0.0` on device_info_plus does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.