flutter_timezone 5.1.0
flutter_timezone: ^5.1.0 copied to clipboard
A flutter plugin for getting the local timezone of the device.
We analyzed this package 4 days ago, and awarded it 150 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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
9 out of 20 API elements (45.0 %) have documentation comments.
Some symbols that are missing documentation: flutter_timezone, flutter_timezone.FlutterTimezone.FlutterTimezone.new, flutter_timezone_web, flutter_timezone_web.FlutterTimezonePlugin.FlutterTimezonePlugin.new, flutter_timezone_web.FlutterTimezonePlugin.handleMethodCall.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
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 support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'EquatableMixin' is deprecated and shouldn't be used. use Equatable as a mixin instead.
lib/timezone_info.dart:5:25
╷
5 │ class TimezoneInfo with EquatableMixin {
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/timezone_info.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
equatable |
^2.0.7 |
2.1.0 | 2.1.0 | |
meta |
^1.16.0 |
1.18.0 | 1.19.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
vector_math |
- | 2.2.0 | 2.4.1 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.14, Flutter 3.44.5, Dart 3.12.2.
Check the analysis log for details.