update method

void update(
  1. String? text,
  2. TipStyle? style
)

Implementation

void update(String? text, TipStyle? style) {
  if (text != null) this.text = text;
  if (style != null) this.tipStyle = style;
  updateState();
}