setText method

void setText(
  1. String text
)

Updating the list item's primary text.

Implementation

void setText(String text) {
  this.text = text;
  FlutterCarPlayController.updateCPListItem(this);
}