xcontext 1.0.0-nullsafety.0 copy "xcontext: ^1.0.0-nullsafety.0" to clipboard
xcontext: ^1.0.0-nullsafety.0 copied to clipboard

outdated

This simple package adds static extension methods and getters to the BuildContext context object from the widgets, material, and cupertino libraries.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add xcontext

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  xcontext: ^1.0.0-nullsafety.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:xcontext/xcontext.dart';
13
likes
0
points
23
downloads

Publisher

verified publisherdartside.dev

Weekly Downloads

This simple package adds static extension methods and getters to the BuildContext context object from the widgets, material, and cupertino libraries.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on xcontext