setDetail method

void setDetail(
  1. String text
)

Implementation

void setDetail(String text) {
  setState(() {
    widget.detail = text;
  });
}