fromLinearLayout method
Implementation
LinearLayoutController fromLinearLayout(LinearLayout view) {
super.fromView(view);
scrollController = view.scrollController ?? ScrollController();
orientation = view.orientation ?? Axis.vertical;
layoutGravity = view.layoutGravity ?? LayoutGravity.start;
mainGravity = view.mainGravity;
mainAxisSize = view.mainAxisSize;
crossGravity = view.crossGravity;
scrollable = view.scrollable ?? false;
scrollingType = view.scrollingType ?? ViewScrollingType.none;
textBaseline = view.textBaseline;
textDirection = view.textDirection;
verticalDirection = view.verticalDirection;
children = view.children ?? [];
onPaging = view.onPaging;
return this;
}