component_builder 0.0.1 copy "component_builder: ^0.0.1" to clipboard
component_builder: ^0.0.1 copied to clipboard

Fluent Component Builder pattern to reduce widget nesting complexity in Flutter.

Component Builder #

A fluent Component Builder pattern for Flutter that reduces widget nesting complexity by providing readable, chainable wrapper methods.

Motivation #

Flutter widget trees can become deeply nested and hard to read:

SafeArea(
  child: Expanded(
    child: SingleChildScrollView(
      child: Text('Hello'),
    ),
  ),
);


final widget = ComponentBuilder()
  .child(const Text('Hello'))
  .wrapSafeArea()
  .wrapExpanded()
  .wrapSingleChildScrollView()
  .build();


Features

Fluent builder API

Immutable widget composition

Reduces visual nesting

IDE-friendly and readable

License

MIT


⚠️ Önemli:
- `TODO`  
- `example text`  
- `package template`  

**Hiçbiri kalmayacak.**

---

### 2️⃣ Tekrar publish et



flutter pub publish


Bu sefer:
- dependency uyarıları yine çıkabilir → **önemsiz**
- LICENSE → geçer
- README → geçer
- Paket → **yayınlanır**

---

## Son durum

Bu publish geçerse:
- `component_builder` pub.dev’de **resmen listelenir**
- Başka projelerde şu satır **çalışır**:

```yaml
dependencies:
  component_builder: ^0.0.1
0
likes
140
points
31
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Fluent Component Builder pattern to reduce widget nesting complexity in Flutter.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on component_builder