getContentModel method

BoxModel getContentModel()

Implementation

BoxModel getContentModel() {
  // build the _body model
  _body ??= (layoutType == LayoutType.row)
      ? RowModel(this, null)
      : ColumnModel(this, null);

  // add my children to content
  _body!.children = [];
  _body!.children!.addAll(children ?? []);

  return _body!;
}