supercontext 1.0.0
supercontext: ^1.0.0 copied to clipboard
A library of extensions for Build Context, which will give you superpowers when programming a new project.
Program faster with the extra features of SuperContext.
[./assets/yellow-button.png]Getting Started #
Basic usage (to check if a variable is null or not):
/// Null variable
final nullVar = null;
/// Check is null or not
nullVar.isNull // Returns true
nullVar.isNotNull // Returns false
You can also use basic functions of the build context as follows:
context.screenSize; // Returns full size for screen
context.media; // Retruns MediaQueryData of BuildContext