showWords method
Simple listing of words.
Implementation
void showWords(List<String> _wordList) {
print('\n * * * WORD-GALLERY * * * ');
int swCount = 0;
for (var x = 0; x < _wordList.length; x++) {
print(_wordList[x]);
swCount++;
if (swCount == 2) {
swCount = 0;
print(' ');
}
}
print(' * * * WORD-GALLERY done * * * \n');
}