앱 공통 계층 — 데이터 저장소 · 서버 시계 · 푸시 · 결제·광고 · 다국어 5종 · 행성 표현 · 공통 UI · 화면 자산

This commit is contained in:
Sn-Kinos
2026-09-29 17:06:48 +09:00
parent cbfb72efe0
commit c4e9a9430e
165 changed files with 29991 additions and 54 deletions
+10
View File
@@ -0,0 +1,10 @@
/// 천 단위 구분. `intl` 을 끌어오지 않고 끝낸다 — 이 앱에서 필요한 형식은 이것뿐이다.
String formatPop(int v) {
final s = v.abs().toString();
final b = StringBuffer(v < 0 ? '-' : '');
for (var i = 0; i < s.length; i++) {
if (i > 0 && (s.length - i) % 3 == 0) b.write(',');
b.write(s[i]);
}
return b.toString();
}