setText method

void setText(
  1. String text
)

A method to set the button text.

Implementation

void setText(String text) => _jsObject.setText(text);