contextx 0.1.1 icon indicating copy to clipboard operation
contextx: ^0.1.1 copied to clipboard

Extensions on BuildContext for Flutter. It lets you replace calls like Navigator.of(context) with context.navigator().

1
likes
70/ 140
pub points
0%
popularity

We analyzed this package 2 days ago, and awarded it 70 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://tonicartos.nz was unreachable. Make sure that the website is reachable via HEAD requests.

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: MPL-2.0.

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

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 45 out of 51 API elements (88.2 %) 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
0 / 30icon to trigger folding of the section

0/30 points: code has no errors, warnings, lints, or formatting issues

Found 13 issues. Showing the first 2:

ERROR: The named parameter 'nullOk' isn't defined.

lib/cupertino.dart:21:44

   ╷
21 │       CupertinoUserInterfaceLevel.of(this, nullOk: nullOk);
   │                                            ^^^^^^
   ╵

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

ERROR: A value of type 'ListTileThemeData' can't be returned from the method 'listTileTheme' because it has a return type of 'ListTileTheme'.

lib/material.dart:39:36

   ╷
39 │   ListTileTheme listTileTheme() => ListTileTheme.of(this);
   │                                    ^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.2.11.2.1
collection-1.16.01.17.0
material_color_utilities-0.1.50.2.0
meta-1.8.01.8.0
sky_engine-0.0.990.0.99
vector_math-2.1.22.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

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

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint >=2.7.0 <3.0.0) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.21, Flutter 3.3.9, Dart 2.18.5.

1
likes
70
pub points
0%
popularity

Publisher

verified publisher icontonicartos.nz

Extensions on BuildContext for Flutter. It lets you replace calls like Navigator.of(context) with context.navigator().

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MPL-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on contextx