toggleSettings method

void toggleSettings()

Opens or closes the settings panel.

Implementation

void toggleSettings() => setState(() => isOpened = !isOpened);