clean_flutter_core 1.0.3 copy "clean_flutter_core: ^1.0.3" to clipboard
clean_flutter_core: ^1.0.3 copied to clipboard

A package that contains core classes and functions for clean architecture. it is only for internal use.

70/ 160
pub points
47
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: clean_flutter_core,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: clean_flutter_core.

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

176 out of 242 API elements (72.7 %) have documentation comments.

Some symbols that are missing documentation: clean_flutter_core.AccessToken.accessToken, clean_flutter_core.AccessToken.refreshToken, clean_flutter_core.CursorPagination, clean_flutter_core.CursorPagination.CursorPagination.new, clean_flutter_core.CursorPagination.endCursor.

Passed check 10/10 points: Package has an example

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

Passed check 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:clean_flutter_core/clean_flutter_core.dart that imports:
  • package:clean_flutter_core/src/clean_flutter_core.dart that imports:
  • package:clean_flutter_core/src/network/network.dart that imports:
  • package:clean_flutter_core/src/network/network_info.dart that imports:
  • package:internet_connection_checker_plus/internet_connection_checker_plus.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:clean_flutter_core/clean_flutter_core.dart that imports:
  • package:clean_flutter_core/src/clean_flutter_core.dart that imports:
  • package:clean_flutter_core/src/network/network.dart that imports:
  • package:clean_flutter_core/src/network/network_info.dart that imports:
  • package:internet_connection_checker_plus/internet_connection_checker_plus.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:clean_flutter_core/clean_flutter_core.dart that imports:
  • package:clean_flutter_core/src/clean_flutter_core.dart that imports:
  • package:clean_flutter_core/src/network/network.dart that imports:
  • package:clean_flutter_core/src/network/network_info.dart that imports:
  • package:internet_connection_checker_plus/internet_connection_checker_plus.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:clean_flutter_core/clean_flutter_core.dart that imports:
  • package:clean_flutter_core/src/clean_flutter_core.dart that imports:
  • package:clean_flutter_core/src/network/network.dart that imports:
  • package:clean_flutter_core/src/network/network_info.dart that imports:
  • package:internet_connection_checker_plus/internet_connection_checker_plus.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package not compatible with platform Web

Because:

  • package:clean_flutter_core/clean_flutter_core.dart that imports:
  • package:clean_flutter_core/src/clean_flutter_core.dart that imports:
  • package:clean_flutter_core/src/network/network.dart that imports:
  • package:clean_flutter_core/src/network/http_adapters.dart that imports:
  • package:dio_http2_adapter/dio_http2_adapter.dart that imports:
  • package:dio_http2_adapter/src/http2_adapter.dart that imports:
  • package:http2/http2.dart that imports:
  • package:http2/transport.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

ERROR: The argument type 'List

lib/src/extensions/dio_extension.dart:57:19

   ╷
57 │           errors: errors,
   │                   ^^^^^^
   ╵

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

ERROR: The argument type 'List

lib/src/extensions/dio_extension.dart:74:19

   ╷
74 │           errors: errors,
   │                   ^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
clean_analysis ^1.0.1 1.0.2 1.0.2
connectivity_plus ^6.0.5 6.1.5 7.0.0
dio ^5.7.0 5.9.0 5.9.0
dio_http2_adapter ^2.5.3 2.6.0 2.6.0
equatable ^2.0.5 2.0.7 2.0.7
freezed_annotation ^2.4.4 2.4.4 3.1.0
internet_connection_checker_plus ^2.5.2 2.7.2 2.9.0
intl ^0.19.0 0.19.0 0.20.2
json_annotation ^4.9.0 4.9.0 4.9.0
meta ^1.15.0 1.16.0 1.17.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
dbus - 0.7.11 0.7.11
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
http - 1.5.0 1.5.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
mime - 2.0.0 2.0.0
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
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.2.0 2.2.0
web - 1.1.1 1.1.1
xml - 6.6.1 6.6.1

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

Found 3 issues. Showing the first 2:

The constraint `^6.0.5` on connectivity_plus does not support the stable version `7.0.0`, that was published 20 days ago.

When connectivity_plus is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^2.4.4` on freezed_annotation does not support the stable version `3.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/extensions/dio_extension.dart:57:19 - The argument type 'List<Map<String, dynamic>>?' can't be assigned to the parameter type 'List
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/extensions/dio_extension.dart:74:19 - The argument type 'List<Map<String, dynamic>>?' can't be assigned to the parameter type 'List

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.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
70
points
47
downloads

Publisher

verified publisherkishormainali.com

Weekly Downloads

A package that contains core classes and functions for clean architecture. it is only for internal use.

Topics

#clean-architecture #extensions #exceptions #response #error-handling

Documentation

API reference

License

MIT (license)

Dependencies

clean_analysis, connectivity_plus, dio, dio_http2_adapter, equatable, flutter, freezed_annotation, internet_connection_checker_plus, intl, json_annotation, meta

More

Packages that depend on clean_flutter_core