ouds_core 0.7.0 copy "ouds_core: ^0.7.0" to clipboard
ouds_core: ^0.7.0 copied to clipboard

PlatformAndroid

Contains the main elements of the OUDS Android library.

105/ 160
pub points
1.04k
downloads

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

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

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

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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

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

Links in `CHANGELOG.md` should be well formed Unable to parse 2 image links.

CHANGELOG.md:67:124

   ╷
67 │ <li>[Library] Refactor with custom configuration Rounded <code>Button</code>, <code>Tag</code> and <code>TextInput</code> (<a href="-https://github.com/Orange-OpenSource/ouds-flutter/issues/299">#299</a>)</li>
   │                                                                                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Detected license: MIT.

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

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

96 out of 256 API elements (37.5 %) have documentation comments.

Some symbols that are missing documentation: OudsBorder.DpExtension.takeUnlessHairline, OudsBorder.OudsBorder.OudsBorder.new, ouds_badge.OudsBadge.OudsBadge.new, ouds_badge.OudsBadge.child, ouds_badge.OudsBadge.enabled.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:ouds_core/components/checkbox/ouds_checkbox.dart that imports:
  • package:ouds_accessibility_plugin/ouds_accessibility_plugin.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:ouds_core/components/checkbox/ouds_checkbox.dart that imports:
  • package:ouds_accessibility_plugin/ouds_accessibility_plugin.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:ouds_core/components/checkbox/ouds_checkbox.dart that imports:
  • package:ouds_accessibility_plugin/ouds_accessibility_plugin.dart that declares support for platforms: Android.
Package does not support platform `macOS`.

Because:

  • package:ouds_core/components/checkbox/ouds_checkbox.dart that imports:
  • package:ouds_accessibility_plugin/ouds_accessibility_plugin.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:ouds_core/components/checkbox/ouds_checkbox.dart that imports:
  • package:ouds_accessibility_plugin/ouds_accessibility_plugin.dart that declares support for platforms: Android.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

WARNING: The value of the local variable 'borderTokens' isn't used.

lib/components/link/ouds_link.dart:324:11

    ╷
324 │     final borderTokens = OudsTheme.of(context).borderTokens;
    │           ^^^^^^^^^^^^
    ╵

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

WARNING: The value of the local variable 'linkToken' isn't used.

lib/components/link/ouds_link.dart:325:11

    ╷
325 │     final linkToken = OudsTheme.of(context).componentsTokens(context).link;
    │           ^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/components/link/ouds_link.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
flutter_svg ^2.2.3 2.2.3 2.2.3
intl ^0.20.2 0.20.2 0.20.2
ouds_accessibility_plugin ^0.1.0 0.1.0 0.1.0
ouds_theme_contract ^0.7.0 0.7.0 1.0.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
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.1
ouds_global_raw_tokens - 0.7.0 1.0.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
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_graphics - 1.1.19 1.1.19
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.1.20 1.1.20
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.

The constraint `^0.7.0` on ouds_theme_contract does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions ouds_theme_contract 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.8, Flutter 3.38.8, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
105
points
1.04k
downloads

Publisher

unverified uploader

Weekly Downloads

Contains the main elements of the OUDS Android library.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_localizations, flutter_svg, intl, ouds_accessibility_plugin, ouds_theme_contract

More

Packages that depend on ouds_core