Discord Shield

Niku

Create Flutter UI, easier, faster, smarter

Fluently developing without headache and Nested Hell.

korone-drake-format

Why

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

Documentation for v2 can be found on niku.saltyaom.com

License

Niku is MIT Licensed.

Maintainers

Libraries

extra/animated
extra/animateds
extra/extra
extra/on
extra/primitive
extra/rounded
extra/screen
macros/actionPadding
macros/alignmentDirectional
macros/applyButtonStyle
macros/applyContentText
macros/applyInputDecoration
macros/applySturtStyle
macros/applyText
macros/applyTitleText
macros/applyValueIndicatorTextStyle
macros/axis
macros/backgroundColor
macros/blendMode
macros/borderRadius
macros/boxFit
macros/buttonPadding
macros/clip
macros/constraints
macros/contentPadding
macros/crossAxisAlignment
macros/dismissDirection
macros/fit
macros/floatingLabelBehavior
macros/focusNode
macros/fontStyle
macros/fontWeight
macros/foregroundColor
macros/gap
macros/imageRepeat
macros/insetPadding
macros/keyboardType
macros/labelPadding
macros/listTileControlAffinity
macros/macros
macros/mainAxisAlignment
macros/mainAxisSize
macros/mapTextStyle
macros/nikuBuild
macros/padding
macros/runAlignment
macros/textAlign
macros/textBaseline
macros/textCapitalization
macros/textDecoration
macros/textDecorationStyle
macros/textDirection
macros/textInputAction
macros/textStyleTheme
macros/verticalDirection
macros/widthHeight
macros/wrapAlignment
macros/wrapCrossAxis
namespace
niku
objects/boxConstraints
objects/buttonStyle
objects/edgeInsets
objects/inputBorder
objects/inputDecoration
objects/objects
objects/state
objects/strutStyle
objects/textStyle
proxy/axis
proxy/button
proxy/image
proxy/inputDecoration
proxy/listTile
proxy/proxy
proxy/radio
proxy/textStyle
widget/actionChip
widget/alert
widget/button
widget/checkbox
widget/checkboxListTile
widget/column
widget/dismissible
widget/gridView
widget/icon
widget/iconButton
widget/image
widget/listTile
widget/listView
widget/niku
widget/padding
widget/popupMenuButton
widget/radio
widget/radioListTile
widget/rangeSlider
widget/richText
widget/row
widget/selectableText
widget/slider
widget/stack
widget/switch
widget/switchListTile
widget/text
widget/textFormField
widget/textSpan
widget/widget
widget/wrap