0

Is there a way to write to the Flutter console in Android Studio without automatically getting a newline carriage-return linefeed at the end?

This suggests it's possible in Dart. I've tried that (importing 'dart:io') but to no avail.

What I'm trying to do is use a loop to print a set of values across the line.

user3012629
  • 657
  • 7
  • 16
  • if for some reason this answer isnt working for you: https://stackoverflow.com/a/14073255/9609442 you could try creating a string above your loop and concatenating new strings to the string in your loop and finally print your string after your loop. – Gabe Feb 09 '21 at 15:07
  • Good work-around suggestion, thanks. I'm slightly surprised that it doesn't seem possible to do what I'm trying to do - just thought I'd check by asking... – user3012629 Feb 09 '21 at 15:55
  • Yeah it is weird it is not implemented with Flutter, I guess they are focusing more on UI than printing to console... – Gabe Feb 09 '21 at 19:10

0 Answers0