LayoutViewConfig constructor
LayoutViewConfig({
- int? paintOrder,
- LayoutPosition? position,
- int? positionOrder,
- ViewMargin? viewMargin,
Creates new LayoutParams
.
paintOrder
the order that this component will be drawn.
position
the ComponentPosition
of this component.
positionOrder
the order of this component in a chart margin.
Implementation
LayoutViewConfig({
this.paintOrder,
this.position,
this.positionOrder,
ViewMargin? viewMargin,
}) : viewMargin = viewMargin ?? ViewMargin.empty;