Returns a PStyle using this as color and optional parameter size.
this
color
size
@override PStyle toStyle({int? size}) => PStyle(color: this, size: size);