printFullText function
Implementation
void printFullText(String text) {
final pattern =
RegExp('.{1,800}'); // Splits the text into 800-character chunks
pattern.allMatches(text).forEach((match) => print(match.group(0)));
}
void printFullText(String text) {
final pattern =
RegExp('.{1,800}'); // Splits the text into 800-character chunks
pattern.allMatches(text).forEach((match) => print(match.group(0)));
}