niku
用于使用类似 SwiftUI 的模式来设置 Widget 样式属性构建器
使用工具 Widget 和扩展的点级联语法组合 Flutter UI,流畅开发无烦恼且避免嵌套地狱。
{"sdk":"flutter"}^1.17.1{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
Create Flutter UI, easier, faster, smarter
Fluently developing without headache and Nested Hell.
korone-drake-format
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 cascade notation 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 for v2 can be found on niku.saltyaom.com
Niku is MIT Licensed.