ListBody简介

一个widget,它沿着一个给定的轴,顺序排列它的子元素

ListBody属性概要

  1. ListBody({
  2. Key key,
  3. this.mainAxis = Axis.vertical,// 设置子项排列它的子部件
  4. this.reverse = false,// 是否颠倒(流动方向:如竖直方向时颠倒后子部件从下往上排列)
  5. List<Widget> children = const <Widget>[],// 子部件们
  6. })