GitHub repository: 204138282/Flutter_onPressed
Primary language: Dart
Created: 2018-08-21T00:57:24Z
Description: void _toggleFavourite() {     setState(() {       if (_isFavourited) {         _favouriteCount -= 1;         _isFavourited = false;       } else {         _favouriteCount += 1;         _isFavourited = true;       }     });   }