fetch_pages 1.2.1 copy "fetch_pages: ^1.2.1" to clipboard
fetch_pages: ^1.2.1 copied to clipboard

Flutter package to fetch and render json pages for json_dynamic_widget from server.

120/ 160
pub points
111
downloads

We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

3 out of 18 API elements (16.7 %) 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: fetch_pages, fetch_pages.FetchPages, fetch_pages.FetchPages.FetchPages.new, fetch_pages.FetchPages.fetchPagesFromAPI, fetch_pages.FetchPages.getPageByName.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:fetch_pages/fetch_pages.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:fetch_pages/fetch_pages.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

INFO: An uninitialized field should have an explicit type annotation.

lib/fetch_pages.dart:11:14

   ╷
11 │   static var responseData;
   │              ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/fetch_pages.dart

INFO: Missing type annotation.

lib/fetch_pages.dart:11:14

   ╷
11 │   static var responseData;
   │              ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/fetch_pages.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
http ^0.13.3 0.13.6 1.6.0
json_dynamic_widget ^7.0.1 7.3.1+13 12.0.0
logger ^1.0.0 1.4.0 2.6.2
mockito ^5.4.4 5.5.1 5.5.1
shared_preferences ^2.0.6 2.5.3 2.5.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 91.0.0 92.0.0
analyzer - 8.4.1 9.0.0
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
build - 4.0.2 4.0.2
built_collection - 5.1.1 5.1.1
built_value - 8.12.0 8.12.0
characters - 1.4.0 1.4.1
child_builder - 2.0.2 2.0.2
clock - 1.1.2 1.1.2
code_builder - 4.11.0 4.11.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_style - 3.1.3 3.1.3
dynamic_widget_annotation - 1.1.2+11 3.0.1
encrypt - 5.0.3 5.0.3
execution_timer - 1.1.0+13 1.1.0+13
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
form_validation - 3.2.0 3.2.0
glob - 2.1.3 2.1.3
http_parser - 4.1.2 4.1.2
interpolation - 2.1.2 2.1.2
intl - 0.20.2 0.20.2
iregexp - 0.1.2 0.2.0
js - 0.7.2 0.7.2 Discontinued
json_class - 3.0.1 3.0.1
json_conditional - 3.0.1+17 3.0.1+17
json_path - 0.7.6 0.8.0
json_schema - 5.2.2 5.2.2
json_theme - 6.5.4+1 11.0.0
json_theme_annotation - 1.0.3+18 2.0.0+1
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
maybe_just_nothing - 0.5.3 0.6.0
meta - 1.17.0 1.17.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.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 - 6.1.0 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 4.0.0
pub_semver - 2.2.0 2.2.0
quiver - 3.2.2 3.2.2
rfc_6901 - 0.2.1 0.2.1
rxdart - 0.28.0 0.28.0
shared_preferences_android - 2.4.15 2.4.15
shared_preferences_foundation - 2.5.5 2.5.5
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_gen - 4.0.2 4.0.2
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
template_expressions - 3.3.1+2 3.3.1+2
term_glyph - 1.2.2 1.2.2
test_api - 0.7.8 0.7.8
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
watcher - 1.1.4 1.1.4
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3
yaml_writer - 2.1.0 2.1.0
yaon - 1.1.4+10 1.1.4+10

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http to update the constraint.

The constraint `^7.0.1` on json_dynamic_widget does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions json_dynamic_widget to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
111
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package to fetch and render json pages for json_dynamic_widget from server.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, json_dynamic_widget, logger, mockito, shared_preferences

More

Packages that depend on fetch_pages