flutter_adaptive_cards_plus 1.0.3
flutter_adaptive_cards_plus: ^1.0.3 copied to clipboard
A Flutter implementation of Adaptive Cards, updated for Flutter 3.35.2.
We analyzed this package 15 hours ago, and awarded it 100 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
63 out of 184 API elements (34.2 %) have documentation comments.
Some symbols that are missing documentation: flutter_adaptive_cards, flutter_adaptive_cards.AdaptiveActionExecute, flutter_adaptive_cards.AdaptiveActionExecute.AdaptiveActionExecute.new, flutter_adaptive_cards.AdaptiveActionExecute.adaptiveMap, flutter_adaptive_cards.AdaptiveActionOpenUrl.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/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:flutter_adaptive_cards_plus/flutter_adaptive_cards_plus.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/actions.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/basics.dartthat imports:package:video_player/video_player.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:flutter_adaptive_cards_plus/flutter_adaptive_cards_plus.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/actions.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/basics.dartthat imports:package:video_player/video_player.dartthat 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 `Android`.
Because:
package:flutter_adaptive_cards_plus/flutter_adaptive_cards_plus.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/actions.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/basics.dartthat imports:package:chewie/chewie.dartthat imports:package:chewie/src/material/material_desktop_controls.dartthat imports:package:chewie/src/chewie_player.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:flutter_adaptive_cards_plus/flutter_adaptive_cards_plus.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/actions.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/basics.dartthat imports:package:chewie/chewie.dartthat imports:package:chewie/src/material/material_desktop_controls.dartthat imports:package:chewie/src/chewie_player.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:flutter_adaptive_cards_plus/flutter_adaptive_cards_plus.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/actions.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/basics.dartthat imports:package:chewie/chewie.dartthat imports:package:chewie/src/material/material_desktop_controls.dartthat imports:package:chewie/src/chewie_player.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package not compatible with platform Web
Because:
package:flutter_adaptive_cards_plus/flutter_adaptive_cards_plus.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/actions.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/basics.dartthat imports:package:video_player/video_player.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:flutter_adaptive_cards_plus/flutter_adaptive_cards_plus.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/actions.dartthat imports:package:flutter_adaptive_cards_plus/src/elements/basics.dartthat imports:package:video_player/video_player.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Use 'whereType' to select elements of a given type.
lib/src/elements/basics.dart:74:20
╷
74 │ allActions.where((a) => a is AdaptiveActionShowCard),
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/elements/basics.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/flutter_adaptive_cards.dart:275:25
╷
275 │ color: Colors.red.withOpacity(0.06),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter_adaptive_cards.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
chewie |
^1.7.5 |
1.14.0 | 1.14.0 | |
flutter_markdown |
^0.7.3 |
0.7.7+1 | 0.7.7+1 | Discontinued |
http |
^1.2.2 |
1.6.0 | 1.6.0 | |
intl |
>=0.19.0 <0.21.0 |
0.20.2 | 0.20.2 | |
provider |
^6.1.2 |
6.1.5+1 | 6.1.5+1 | |
tinycolor2 |
^3.0.1 |
3.0.1 | 3.0.1 | |
url_launcher |
^6.3.1 |
6.3.2 | 6.3.2 | |
uuid |
^4.4.0 |
4.5.3 | 4.5.3 | |
video_player |
^2.9.2 |
2.11.1 | 2.11.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
cupertino_icons |
- | 1.0.9 | 1.0.9 | |
dbus |
- | 0.7.12 | 0.7.12 | |
ffi |
- | 2.2.0 | 2.2.0 | |
ffi_leak_tracker |
- | 0.1.2 | 0.1.2 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.3 | 1.0.3 | |
html |
- | 0.15.6 | 0.15.6 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
markdown |
- | 7.3.1 | 7.3.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
native_toolchain_c |
- | 0.17.6 | 0.18.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
package_info_plus |
- | 10.1.0 | 10.1.0 | |
package_info_plus_platform_interface |
- | 4.1.0 | 4.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
pigment |
- | 1.0.4 | 1.0.4 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
record_use |
- | 0.6.0 | 0.6.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.29 | 6.3.29 | |
url_launcher_ios |
- | 6.4.1 | 6.4.1 | |
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.3 | 2.4.3 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
video_player_android |
- | 2.9.5 | 2.9.5 | |
video_player_avfoundation |
- | 2.9.5 | 2.9.5 | |
video_player_platform_interface |
- | 6.7.0 | 6.7.0 | |
video_player_web |
- | 2.4.0 | 2.4.0 | |
wakelock_plus |
- | 1.6.0 | 1.6.0 | |
wakelock_plus_platform_interface |
- | 1.5.0 | 1.5.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 6.2.0 | 6.2.0 | |
xml |
- | 6.6.1 | 7.0.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- flutter_markdown.
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 2 errors:
UNDEFINED_NAMED_PARAMETER-lib/src/elements/basics.dart:199:11- The named parameter 'sizedImageBuilder' isn't defined.UNDEFINED_CLASS-lib/src/elements/basics.dart:199:31- Undefined class 'MarkdownImageConfig'.
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.12, Flutter 3.41.9, Dart 3.11.5.
Check the analysis log for details.