niku 2.1.0-experimental.1 niku: ^2.1.0-experimental.1 copied to clipboard
Property builder for styling Widget with SwiftUI like pattern
Niku #
Create Flutter UI, easier, faster, smarter
Fluently developing without headache and Nested Hell.
Why #
Recommended: See why people choose and how it get along with your codebase in the documentation
Styling in Flutter is complex and verbose.
Developers have to describe every styling detail to Widget. It’s like low-level programming UI, having to adapt between property is hard when some are more complex than others, for instance, MaterialStateProperty.
When the codebase gets more complex, the syntax of Flutter itself is too verbose, nested than it should be, result being hard to maintain mostly known as Nested Hell.
Niku helps to solve the problem by providing a dot cascade to style widget. Exposing the same naming convention, shorten property, parent builder and style extraction.
Providing a smoother, shorter yet, more straightforward and maintainable way to compose styling in Flutter.
Documentation #
Documentation for v2 can be found on niku.saltyaom.com
- Documentation
- Introduction and Why
- Quickstart
- Hook
- Parent
- Extending Niku
- Custom Widget
- Macro
- Repaint
- UseQuery
License #
Niku is MIT Licensed.