BPCustomItem constructor Null safety

BPCustomItem(
  1. double width,
  2. void painter(
    1. Canvas,
    2. BPItemPainter
    )
)

Implementation

BPCustomItem(this.width, this.painter);