Signature of string creation from tap count and L/R
typedef TextBuilder = String Function(Lr lr, int tapCount);