its_easy 0.0.1
its_easy: ^0.0.1 copied to clipboard
its_easy is a Flutter package that makes development effortless using intuitive extension methods. Developed by kavindu sandaruwan
Here's a complete README.md file for your its_easy Flutter package:
# 📦 its_easy – Simplify Flutter UI with Powerful Extensions 🚀
**its_easy** is a Flutter package that enhances widget layout by providing intuitive extension methods.
With just one line of code, you can easily add **padding, margin, and centering** to any widget!
No more unnecessary nesting of `Padding`, `Container`, and `Center` widgets. **its_easy** makes Flutter UI development cleaner and more readable! 😍
---
## 📌 Features
✅ **Effortless Padding** – `.paddingAll(16)`, `.paddingOnly(left: 10, right: 20)`
✅ **Simple Margin Handling** – `.marginAll(12)`, `.marginSymmetric(horizontal: 10)`
✅ **Quick Centering** – `.center()` to wrap any widget inside `Center()`
✅ **Chained Modifications** – `.center().paddingAll(16).marginAll(10)`
✅ **Cleaner and More Readable Code**
---
## 🚀 Installation
Add the package to your **pubspec.yaml** file:
```yaml
dependencies:
its_easy: ^1.0.0
Then, run:
flutter pub get
Import it in your Dart file:
import 'package:its_easy/its_easy.dart';
🛠️ Usage #
1️⃣ Center a Widget #
Text("Centered Text").center();
2️⃣ Add Padding #
Text("Padded Text").paddingAll(16);
3️⃣ Add Margin #
Text("Margin Example").marginAll(12);
4️⃣ Combine Multiple Extensions #
Text("Chained Example")
.center()
.paddingAll(20)
.marginAll(15);
5️⃣ Custom Padding & Margin #
Text("Custom Padding & Margin")
.paddingOnly(left: 10, top: 20)
.marginSymmetric(horizontal: 15, vertical: 5);
🎯 Why Use its_easy? #
✅ Reduces Boilerplate Code
✅ Improves Readability
✅ Less Widget Nesting
✅ Works with Any Widget
📄 License #
MIT License – Free to use and modify!
❤️ Contributing #
If you want to contribute:
- Fork the Repository
- Create a Feature Branch (
feature-new) - Commit Your Changes
- Push to GitHub & Open a PR
🛠️ Upcoming Features #
🔜 Background Color – .backgroundColor(Colors.blue)
🔜 Widget Alignment – .align(Alignment.centerRight)
🔜 More Custom Layout Helpers
📢 Connect with Me #
💬 Got suggestions? Feel free to open an issue or contribute to the project! 🚀
---
This **README.md** provides:
✅ **Installation Guide**
✅ **Usage Examples**
✅ **Feature List**
✅ **Contribution Instructions**
✅ **Upcoming Features**
Let me know if you want any modifications! 🔥🚀