void generateProperties()

in tool/colors/generate_files.dart [72:85]


void generateProperties(Map<String, Color> colors, String filename) {
  final StringBuffer buf = StringBuffer();
  buf.writeln('# Generated file - do not edit.');
  buf.writeln();
  buf.writeln('# suppress inspection "UnusedProperty" for whole file');
  buf.writeln();

  writeColors(colors,
      (String name, Color color) => buf.writeln('$name=${color.toHex()}'));

  File(filename).writeAsStringSync(buf.toString());

  print('wrote $filename');
}