toStyle method

  1. @override
PStyle toStyle({
  1. int? size,
})
override

Returns a PStyle using this as color and optional parameter size.

Implementation

@override
PStyle toStyle({int? size}) => PStyle(color: this, size: size);