listener method

void listener()

Updates the UI when model updates.

Implementation

void listener() => setState(() {});