LayoutViewConfig constructor

LayoutViewConfig({
  1. int? paintOrder,
  2. LayoutPosition? position,
  3. int? positionOrder,
  4. 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;