PolygonElement constructor
PolygonElement({
- ColorAttr? color,
- ElevationAttr? elevation,
- GradientAttr? gradient,
- LabelAttr? label,
- Varset? position,
- ShapeAttr<
PolygonShape> ? shape, - SizeAttr? size,
- List<
Modifier> ? modifiers, - int? layer,
- Selected? selected,
- StreamController<
Selected?> ? selectionChannel,
Creates a polygon element.
Implementation
PolygonElement({
ColorAttr? color,
ElevationAttr? elevation,
GradientAttr? gradient,
LabelAttr? label,
Varset? position,
ShapeAttr<PolygonShape>? shape,
SizeAttr? size,
List<Modifier>? modifiers,
int? layer,
Selected? selected,
StreamController<Selected?>? selectionChannel,
}) : super(
color: color,
elevation: elevation,
gradient: gradient,
label: label,
position: position,
shape: shape,
size: size,
modifiers: modifiers,
layer: layer,
selected: selected,
selectionChannel: selectionChannel,
);