truconsent_consent_notice_flutter 0.1.2 copy "truconsent_consent_notice_flutter: ^0.1.2" to clipboard
truconsent_consent_notice_flutter: ^0.1.2 copied to clipboard

Flutter SDK for TruConsent consent banner. This package provides native Flutter widgets for displaying and managing consent banners in Flutter applications.

135/ 160
pub points
20
downloads

We analyzed this package 23 hours ago, and awarded it 135 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.1.2").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: MIT.

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

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

OUT: Documenting truconsent_consent_notice_flutter... Discovering libraries... Linking elements... Precaching local docs for 1210248 elements... Initialized dartdoc with 1263 libraries Generating docs for library tru_consent.dart from package:truconsent_consent_notice_flutter/tru_consent.dart... Generating docs for library truconsent_consent_banner_flutter.dart from package:truconsent_consent_notice_flutter/truconsent_consent_banner_flutter.dart... Documented 2 public libraries in 50.8 seconds ERR: warning: ambiguous reexport of banner_service.fetchBanner, canonicalization candidates: (truconsent_consent_notice_flutter, truconsent_consent_notice_flutter) -> truconsent_consent_notice_flutter[...] from banner_service.fetchBanner: (file:///tmp/pana_YBOXMO/lib/src/services/banner_service.dart:32:16) truconsent_consent_notice_flutter: 2.177 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) truconsent_consent_notice_flutter: 2.177 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) Use {@canonicalFor banner_service.fetchBanner} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [168 more lines]

Passed check 10/10 points: Package has an example

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

Passed check 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:truconsent_consent_notice_flutter/tru_consent.dart that imports:
  • package:truconsent_consent_notice_flutter/src/widgets/right_center.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:truconsent_consent_notice_flutter/tru_consent.dart that imports:
  • package:truconsent_consent_notice_flutter/src/widgets/right_center.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:truconsent_consent_notice_flutter/tru_consent.dart that imports:
  • package:truconsent_consent_notice_flutter/src/widgets/right_center.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
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 38 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/src/services/rights_center_api.dart:1:1

  ╷
1 │ /// Rights Center API Service
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The variable name 'collection_point' isn't a lowerCamelCase identifier.

lib/src/services/rights_center_api.dart:8:16

  ╷
8 │   final String collection_point;
  │                ^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest Notes
http ^1.1.0 1.6.0 1.6.0
intl ^0.20.2 0.20.2 0.20.2
provider ^6.1.1 6.1.5+1 6.1.5+1
url_launcher ^6.2.0 6.3.2 6.3.2
uuid ^4.3.0 4.5.3 4.5.3
webview_flutter ^4.4.2 4.13.1 4.13.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
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.28 6.3.28
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.2 2.4.2
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1
webview_flutter_android - 4.10.13 4.10.13
webview_flutter_platform_interface - 2.14.0 2.14.0
webview_flutter_wkwebview - 3.24.1 3.24.1

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

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.11, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
135
points
20
downloads

Documentation

API reference

Publisher

verified publishertruconsent.io

Weekly Downloads

Flutter SDK for TruConsent consent banner. This package provides native Flutter widgets for displaying and managing consent banners in Flutter applications.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_localizations, http, intl, provider, url_launcher, uuid, webview_flutter

More

Packages that depend on truconsent_consent_notice_flutter