withPosition method
Returns a new attributes that matches this attributes with the position replaced
with p
.
This method is mainly used for Modifiers.
Implementation
Attributes withPosition(List<Offset> p) => Attributes(
index: index,
tag: tag,
position: p,
shape: shape,
color: color,
gradient: gradient,
elevation: elevation,
label: label,
size: size,
);