Discord Shield

Niku

Create Flutter UI, easier, faster, smarter

Fluently developing without headache and Nested Hell.

korone-drake-format

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 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

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