refresh method

dynamic refresh(
  1. String title
)

Implementation

refresh(String title) {
  setState(() {
    _title = title;
  });
  widget.onRefreshed!.call();
}