xcontext 0.0.1+2 copy "xcontext: ^0.0.1+2" to clipboard
xcontext: ^0.0.1+2 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: ^0.0.1+2

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
pub points
24%
popularity

Publisher

verified publisherdartside.dev

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