add method
Build a stream of bool that represents a white or black bar from a bit encoded int with count as the number of bars to draw
Implementation
@protected
Iterable<bool> add(int data, int count) sync* {
for (var i = 0; i < count; i++) {
yield (1 & (data >> i)) == 1;
}
}