changeTitle method

dynamic changeTitle(
  1. int titleIndex,
  2. String? title
)

更改Title

Implementation

changeTitle(int titleIndex, String? title) {
  this.titleIndex = titleIndex;
  this.title = title ?? "";
  hide();
}