good_context_extensions 1.0.0 copy "good_context_extensions: ^1.0.0" to clipboard
good_context_extensions: ^1.0.0 copied to clipboard

BuildContext extensions for easy accesing to Size, Theming and Navigation

0
likes
95/ 140
pub points
0%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.
  • pubspec.yaml doesn't have a repository entry.

0/5 points: Provide a valid README.md

`README.md` is empty.

The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

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

3 out of 36 API elements (8.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: context_extensions, context_extensions.SizeExtensions.availableHeight, context_extensions.SizeExtensions.getSize, context_extensions.SizeExtensions.height, context_extensions.SizeExtensions.isKeyboardOpened.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: 'backgroundColor' is deprecated and shouldn't be used. Use colorScheme.background instead. This feature was deprecated after v3.3.0-0.5.pre.

lib/src/context_extensions.dart:83:48

   ╷
83 │   Color? get backgroundColor => Theme.of(this).backgroundColor;
   │                                                ^^^^^^^^^^^^^^^
   ╵

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

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

10/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
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.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.

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

0
likes
95
pub points
0%
popularity

Publisher

unverified uploader

BuildContext extensions for easy accesing to Size, Theming and Navigation

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on good_context_extensions