INNER CODE UNIT · Python

PuzzleIcons

lichess-org/mobile · scripts/generate_icon.py:72

class PuzzleIcons {{
  PuzzleIcons._();

  static const _kFontFam = 'LichessPuzzleIcons';
  static const String? _kFontPkg = null;

  // dart format off
  {"".join(dart_code_list)}
}}
"""

with open(dart_output_file, "w") as output_file:
    output_file.write(dart_code)

print(f"Dart code has been written to {dart_output_file}")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…