PCanvasPanel2D constructor
PCanvasPanel2D({
- PStyle? style,
- PCanvasElementContainer<
PCanvasElement> ? parent, - int? zIndex,
- Position? pos,
- PDimension? dimension,
- Iterable<
PCanvasElement2D> ? elements, - String? id,
Implementation
PCanvasPanel2D({
this.style,
super.parent,
super.zIndex,
super.pos,
super.dimension,
Iterable<PCanvasElement2D>? elements,
super.id,
}) : super() {
if (elements != null) {
addAllElements(elements);
}
}