extended 0.1.10
extended: ^0.1.10 copied to clipboard
A set of handy widgets and functions that are extended based on Material and Cupertino widgets.
We analyzed this package 2 days ago, and awarded it 70 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.
0/10 points: 20% or more of the public API has dartdoc comments
56 out of 377 API elements (14.9 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: extended, extended.Avatar, extended.Avatar.Avatar.new, extended.Avatar.onTap, extended.Avatar.size.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:extended/extended.dartthat imports:package:extended/src/widgets/cached_image.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:extended/extended.dartthat imports:package:extended/src/widgets/cached_image.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:extended/extended.dartthat imports:package:extended/src/functions/download.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
ERROR: The argument type 'void Function(String?, Map
lib/src/widgets/extended_text.dart:86:20
╷
86 │ onLinkTap: (text, context, data, element) {
│ ┌────────────────────^
87 │ │ if (onOpen != null) {
88 │ │ onOpen!(text!);
89 │ │ } else {
90 │ │ _onLink(text);
91 │ │ }
92 │ │ },
│ └─────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/extended_text.dart
INFO: Missing type annotation.
lib/src/functions/error.dart:9:20
╷
9 │ Future<void> error(e, [String title = 'ERROR']) {
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/functions/error.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cached_network_image |
^3.2.0 |
3.3.1 | 3.4.1 | |
dio |
^4.0.4 |
4.0.6 | 5.9.0 | |
flutter_html |
^3.0.0-alpha.3 |
3.0.0 | 3.0.0 | |
flutter_linkify |
^5.0.2 |
5.0.2 | 6.0.0 | |
path_provider |
^2.0.2 |
2.1.5 | 2.1.5 | |
rxdart |
^0.27.3 |
0.27.7 | 0.28.0 | |
share_plus |
^4.0.4 |
4.5.3 | 12.0.1 | |
url_launcher |
^6.0.20 |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
cached_network_image_platform_interface |
- | 4.0.0 | 4.1.1 | |
cached_network_image_web |
- | 1.2.0 | 1.3.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+1 | 0.3.5+1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 6.1.4 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_cache_manager |
- | 3.3.1 | 3.4.1 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
linkify |
- | 4.1.0 | 5.0.0 | |
list_counter |
- | 1.0.2 | 1.0.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 1.0.6 | 2.0.0 | |
octo_image |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.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 | |
share_plus_linux |
- | 3.0.1 | 3.0.1 | Discontinued |
share_plus_macos |
- | 3.0.1 | 3.0.1 | Discontinued |
share_plus_platform_interface |
- | 3.4.0 | 6.1.0 | |
share_plus_web |
- | 3.1.0 | 3.1.0 | Discontinued |
share_plus_windows |
- | 3.0.1 | 4.0.0 | Discontinued |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.28 | 6.3.28 | |
url_launcher_ios |
- | 6.3.6 | 6.3.6 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^4.0.4` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio to update the constraint.
The constraint `^5.0.2` on flutter_linkify does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions flutter_linkify 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 1 error:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/widgets/extended_text.dart:86:20- The argument type 'void Function(String?, Map<String, String>, Element?, dynamic)' can't be assigned to the parameter type 'OnTap?'.
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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.