Skip to content
pubscout

exui

1.0.11, released 9 months ago by jozz.biz

Lightweight, zero-dependency extension library providing chainable UI utilities for Flutter.

WASM-ready
$ flutter pub add exui
Source repository

What it does

It enhances Flutter UI code with expressive, chainable widget extensions that streamline common layout, padding, sizing, and styling patterns using pure Dart. It wraps existing widgets without creating new classes or adding external dependencies.

AI-written summary of version 1.0.11, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to write cleaner, more concise widget trees with method chaining.
  • You need standard layout helpers like padding, centering, and sizing without boilerplate wrappers.
  • You want a zero-dependency extension library that works with pure Flutter or optional Material/Cupertino modules.

Skip it when

  • You prefer the standard explicit wrapper widgets like Padding and Center for readability.
  • You need complete state-management or UI-kit frameworks.

Strengths

  • Zero external dependencies and lightweight.
  • Provides over 200 chainable utility methods for layout, alignment, visibility, and constraints.
  • Well-tested with hundreds of unit tests.

Weaknesses

  • Method chaining can make deep widget trees harder to read for some developers.
  • Relies entirely on extension methods rather than standalone components.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Simply add exui to pubspec.yaml and import the core library or material/cupertino extensions.

Text("Hello").paddingAll(16)