ubuntu_localizations 0.3.5 copy "ubuntu_localizations: ^0.3.5" to clipboard
ubuntu_localizations: ^0.3.5 copied to clipboard

Provides extra localizations for Ubuntu applications.

3
likes
90/ 140
pub points
79%
popularity

We analyzed this package 8 days ago, and awarded it 90 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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: MPL-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

141 out of 145 API elements (97.2 %) have documentation comments.

Some symbols that are missing documentation: ubuntu_localizations.UbuntuLocalizations.delegate, ubuntu_localizations.UbuntuLocalizations.localeName, ubuntu_localizations.UbuntuLocalizations.of, ubuntu_localizations.lookupUbuntuLocalizations.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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:ubuntu_localizations/ubuntu_localizations.dart that imports:
  • package:ubuntu_localizations/src/localizations.dart that imports:
  • package:intl/intl_standalone.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/localizations.dart:55:17

   ╷
55 │   bool operator ==(dynamic other) =>
   │                 ^^
   ╵

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

lib/src/l10n/ubuntu_localizations.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.17.0 1.18.0 1.18.0
diacritic ^0.1.3 0.1.5 0.1.5
flutter flutter 0.0.0 0.0.0
flutter_localizations flutter 0.0.0 0.0.0
intl ^0.18.0 0.18.1 0.19.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

The constraint `^0.18.0` on intl does not support the stable version `0.19.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.