Skip to content
pubscout

niku

2.4.3, released 3 years ago by saltyaom.com

Cascade-style builder for styling Flutter widgets

WASM-ready
$ flutter pub add niku
Source repository

What it does

Provides a fluent API to apply styles to widgets, reducing verbosity and nested hell. It supports Material 3 components and offers a concise syntax for common styling patterns.

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

Use it when

  • When you want concise styling syntax
  • When migrating legacy code to more maintainable style
  • When using Material 3 components

Skip it when

  • When you need fine-grained control over individual properties
  • When you prefer explicit constructors

Strengths

  • Reduces boilerplate
  • Supports Material 3
  • Easy to read

Weaknesses

  • Limited to styling only
  • Learning curve for cascade syntax

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Alternatives

Packages that do the same job and could replace niku.