NikuRow constructor

NikuRow(
  1. List<Widget> _children, {
  2. Key? key,
})

Niku extension for Row

Style property builder for building row

Example usage:

NikuRow([
  Text("0"),
  Text("1")
])
  .mainAxis(MainAxisAlignment.center)
  .crossCenter()
  .append(Text("2"))

Meta property list:

  • niku() - Switch to Niku() property
  • build() - Apply styles and build FlatButton as Widget

Style Property list:

Children property list:

  • child, append, appendChild - Append child
  • children, appendChildren - Append all of children
  • prepend, prependChild - Prepend child
  • prependChildren - Prepend all of children
  • insert - Insert child at index
  • insertAll - Insert all children at index

Implementation

NikuRow(
  this._children, {
  this.key,
});