cobi_flutter_platform_settings 2.0.1 icon indicating copy to clipboard operation
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

1
likes
120/ 140
pub points
0%
popularity

We analyzed this package 46 hours ago, and awarded it 120 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

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.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

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.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS
  • ✓ Web
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
flutter_platform_widgets^1.7.01.20.03.2.0
shared_preferences^2.0.02.0.182.0.18
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.2.11.3.0
collection-1.17.01.17.1
ffi-2.0.12.0.1
file-6.1.46.1.4
flutter_web_plugins-0.0.00.0.0
js-0.6.50.6.7
material_color_utilities-0.2.00.3.0
meta-1.8.01.9.0
path-1.8.31.8.3
path_provider_linux-2.1.102.1.10
path_provider_platform_interface-2.0.62.0.6
path_provider_windows-2.1.52.1.5
platform-3.1.03.1.0
plugin_platform_interface-2.1.42.1.4
process-4.2.44.2.4
shared_preferences_android-2.0.172.0.17
shared_preferences_foundation-2.1.52.1.5
shared_preferences_linux-2.1.52.1.5
shared_preferences_platform_interface-2.1.12.1.1
shared_preferences_web-2.0.62.0.6
shared_preferences_windows-2.1.52.1.5
sky_engine-0.0.990.0.99
vector_math-2.1.42.1.4
win32-3.1.34.1.1
xdg_directories-1.0.01.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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

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.

1
likes
120
pub points
0%
popularity

Publisher

unverified uploader

An application settings screen for flutter that persists values via the shared_preferences package and uses the flutter_platform_widgets

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

flutter, flutter_platform_widgets, shared_preferences

More

Packages that depend on cobi_flutter_platform_settings