locale_plus 2.0.0
locale_plus: ^2.0.0 copied to clipboard
LocalePlus allows easy access to native device locale data in Flutter apps. Includes language, country code, time zone, and number formatting preferences.
We analyzed this package 41 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
16 out of 55 API elements (29.1 %) have documentation comments.
Some symbols that are missing documentation: locale_plus, locale_plus.LocalePlus.LocalePlus.new, locale_plus.os, locale_plus_method_channel, locale_plus_method_channel.MethodChannelLocalePlus.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:locale_plus/locale_plus.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:locale_plus/locale_plus.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:locale_plus/locale_plus.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:locale_plus/locale_plus.dartthat declares support for platforms:Android,iOS.
Swift PM-ready: This iOS or macOS plugin supports the Swift Package Manager. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin-ready: This Android plugin supports built-in Kotlin. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
intl |
>=0.19.0 <0.21.0 |
0.20.3 | 0.20.3 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
universal_io |
^2.0.4 |
2.3.1 | 2.3.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.4.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
FOR_IN_OF_INVALID_ELEMENT_TYPE-lib/patch_all_locales.dart:74:14- The type 'Iterable<MapEntry<dynamic, dynamic>>' used in the 'for' loop must implement 'Iterable' with a type argument that can be assigned to 'MapEntry<String, NumberSymbols>'.
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.23.15, Flutter 3.44.7, Dart 3.12.2.
Check the analysis log for details.