NikuColumn constructor

NikuColumn(
  1. List<Widget> children
)

Niku extension for Column

Style property builder for building column

Example usage:

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

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

NikuColumn(List<Widget> children) {
  this._children = children;
}