exxen 0.0.9
exxen: ^0.0.9 copied to clipboard
Exxen is a Flutter package that offers extensions to make your code cleaner, reusable, and easier to maintain. It is compatible with WebAssembly (WASM).
Context Extension #
You can use very easy context elements,
- For Example:
//context.theme is the same as Theme.of(context)
//context.colorScheme is the same as Theme.of(context).colorScheme
backgroundColor: context.colorScheme.inversePrimary
//context.theme is the same as Theme.of(context)
//context.textTheme is the same as Theme.of(context).textTheme
style: context.textTheme.headlineMedium
// .center() is the same as Center(child: Column(...))
Column().center()