spacerEvery method
Implementation
List<Widget> spacerEvery() {
List<Widget> list = <Widget>[];
forEachIndexed((index, element) {
index == (length - 1)
? list.add(this[index])
: list.addAll([this[index], const Spacer()]);
});
return list;
}