cobi_flutter_platform_settings 2.0.1
cobi_flutter_platform_settings: ^2.0.1 copied to clipboard
An application settings screen for flutter that persists values via the shared_preferences package and uses the flutter_platform_widgets
We analyzed this package 46 hours ago, and awarded it 120 pub points (of a possible 140):
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: BSD-3-Clause
.
10/10 points: Package has an example
10/10 points: 20% or more of the public API has dartdoc comments
- 56 out of 88 API elements (63.6 %) have documentation comments.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ MacOS
- ✓ Web
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 20 issues. Showing the first 2:
INFO: The import of 'package:flutter/widgets.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.
lib/src/settings_group.dart:5:8
╷
5 │ import 'package:flutter/widgets.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/settings_group.dart
INFO: 'bodyText1' is deprecated and shouldn't be used. Use bodyLarge instead. This feature was deprecated after v3.1.0-0.0.pre.
lib/src/settings_group.dart:63:50
╷
63 │ material: (data) => data.textTheme.bodyText1!.copyWith(color: data.accentColor),
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/settings_group.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter | flutter | 0.0.0 | 0.0.0 |
flutter_platform_widgets | ^1.7.0 | 1.20.0 | 3.2.0 |
shared_preferences | ^2.0.0 | 2.0.18 | 2.0.18 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters | - | 1.2.1 | 1.3.0 |
collection | - | 1.17.0 | 1.17.1 |
ffi | - | 2.0.1 | 2.0.1 |
file | - | 6.1.4 | 6.1.4 |
flutter_web_plugins | - | 0.0.0 | 0.0.0 |
js | - | 0.6.5 | 0.6.7 |
material_color_utilities | - | 0.2.0 | 0.3.0 |
meta | - | 1.8.0 | 1.9.0 |
path | - | 1.8.3 | 1.8.3 |
path_provider_linux | - | 2.1.10 | 2.1.10 |
path_provider_platform_interface | - | 2.0.6 | 2.0.6 |
path_provider_windows | - | 2.1.5 | 2.1.5 |
platform | - | 3.1.0 | 3.1.0 |
plugin_platform_interface | - | 2.1.4 | 2.1.4 |
process | - | 4.2.4 | 4.2.4 |
shared_preferences_android | - | 2.0.17 | 2.0.17 |
shared_preferences_foundation | - | 2.1.5 | 2.1.5 |
shared_preferences_linux | - | 2.1.5 | 2.1.5 |
shared_preferences_platform_interface | - | 2.1.1 | 2.1.1 |
shared_preferences_web | - | 2.0.6 | 2.0.6 |
shared_preferences_windows | - | 2.1.5 | 2.1.5 |
sky_engine | - | 0.0.99 | 0.0.99 |
vector_math | - | 2.1.4 | 2.1.4 |
win32 | - | 3.1.3 | 4.1.1 |
xdg_directories | - | 1.0.0 | 1.0.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.7.0` on flutter_platform_widgets does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_platform_widgets
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Package and dependencies are fully migrated to null safety!
Analysed with Pana 0.21.27
, Flutter 3.7.7
, Dart 2.19.4
.