PCanvasBackgroundGradient constructor
PCanvasBackgroundGradient(
- PColor colorFrom,
- PColor colorTo, {
- PCanvasElementContainer<
PCanvasElement> ? parent, - Position? pos,
- PDimension? dimension,
- int zIndex = defaultZIndex,
- String? id,
Implementation
PCanvasBackgroundGradient(this.colorFrom, this.colorTo,
{super.parent,
super.pos,
super.dimension,
int zIndex = defaultZIndex,
super.id})
: super(zIndex: zIndex);