A fairly simple question:
I would like to create a line initialized with a dynamically resolved number of spaces in the dart. Here is something that worked:
String spaces(n) { var result = new List<int>.filled(n+1,32); return new String.fromCharCodes(result); }
Is there a better way?
source share