toggle method
Implementation
void toggle() {
Debug().info(
"Prefer Compact: $_preferCompact -> ${!_preferCompact}");
_preferCompact = !_preferCompact;
notifyListeners();
}
void toggle() {
Debug().info(
"Prefer Compact: $_preferCompact -> ${!_preferCompact}");
_preferCompact = !_preferCompact;
notifyListeners();
}