foreground method

T foreground(
  1. Paint? foreground
)

Implementation

T foreground(Paint? foreground) => this.._foreground = foreground;