flutter_fb_news 2.0.2
flutter_fb_news: ^2.0.2 copied to clipboard
Flutter plugin for displaying Facebook page feed with photos and videos
We analyzed this package 2 days ago, and awarded it 80 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 97 API elements (64.9 %) have documentation comments.
Some symbols that are missing documentation: fb_news_attachments_photos, fb_news_attachments_photos.FbNewsAttachmentsPhotos.FbNewsAttachmentsPhotos.new, fb_news_attachments_share, fb_news_attachments_share.FbNewsAttachmentsShares.FbNewsAttachmentsShares.new, fb_news_attachments_video.
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:flutter_fb_news/flutter_fb_news.dartthat imports:package:flutter_fb_news/fb_news_feed.dartthat imports:package:flutter_fb_news/fb_news_attachments_videos.dartthat imports:package:flutter_fb_news/fb_news_attachments_video.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_fb_news/flutter_fb_news.dartthat imports:package:flutter_fb_news/fb_news_feed.dartthat imports:package:flutter_fb_news/fb_news_attachments_videos.dartthat imports:package:flutter_fb_news/fb_news_attachments_video.dartthat imports:package:video_player/video_player.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Web`.
Because:
package:flutter_fb_news/flutter_fb_news.dartthat imports:package:flutter_fb_news/fb_news_feed.dartthat imports:package:flutter_fb_news/fb_news_attachments_photos.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/json_cache_info_repository.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
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_fb_news/flutter_fb_news.dartthat imports:package:flutter_fb_news/fb_news_feed.dartthat imports:package:flutter_fb_news/fb_news_attachments_videos.dartthat imports:package:flutter_fb_news/fb_news_attachments_video.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_fb_news/flutter_fb_news.dartthat imports:package:flutter_fb_news/fb_news_feed.dartthat imports:package:flutter_fb_news/fb_news_attachments_videos.dartthat imports:package:flutter_fb_news/fb_news_attachments_video.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_fb_news/flutter_fb_news.dartthat imports:package:flutter_fb_news/fb_news_feed.dartthat imports:package:flutter_fb_news/fb_news_attachments_videos.dartthat imports:package:flutter_fb_news/fb_news_attachments_video.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.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
ERROR: The getter 'accentColor' isn't defined for the type 'ThemeData'.
lib/fb_news_feed.dart:45:68
╷
45 │ color: config.borderColor ?? Theme.of(context).accentColor,
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/fb_news_feed.dart
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/fb_news_attachments_photos.dart:45:14
╷
45 │ return images.length > 0
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/fb_news_attachments_photos.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cached_network_image |
>=3.0.0 <4.0.0 |
3.3.1 | 3.4.1 | |
chewie |
>=1.0.0 <2.0.0 |
1.13.0 | 1.13.0 | |
flutter_linkify |
>=5.0.2 <6.0.0 |
5.0.2 | 6.0.0 | |
http |
>=0.13.0 <1.0.0 |
0.13.6 | 1.6.0 | |
url_launcher |
>=6.0.2 <7.0.0 |
6.3.2 | 6.3.2 | |
video_player |
>=2.1.1 <3.0.0 |
2.10.1 | 2.10.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
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 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
cupertino_icons |
- | 1.0.8 | 1.0.8 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 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_parser |
- | 4.1.2 | 4.1.2 | |
linkify |
- | 4.1.0 | 5.0.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
octo_image |
- | 2.1.0 | 2.1.0 | |
package_info_plus |
- | 9.0.0 | 9.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
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 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
rxdart |
- | 0.27.7 | 0.28.0 | |
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 | |
video_player_android |
- | 2.9.1 | 2.9.1 | |
video_player_avfoundation |
- | 2.8.9 | 2.8.9 | |
video_player_platform_interface |
- | 6.6.0 | 6.6.0 | |
video_player_web |
- | 2.4.0 | 2.4.0 | |
wakelock_plus |
- | 1.4.0 | 1.4.0 | |
wakelock_plus_platform_interface |
- | 1.3.0 | 1.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=5.0.2 <6.0.0` 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.
The constraint `>=0.13.0 <1.0.0` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http 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:
UNDEFINED_GETTER-lib/fb_news_feed.dart:45:68- The getter 'accentColor' isn't defined for the type 'ThemeData'.
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.