성운명 오류 문구 줄바꿈 · 옛 행성 그림 통일 · 광고 안내 모달 줄바꿈
This commit is contained in:
@@ -54,6 +54,35 @@ class LivePlanet25D extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
|
||||
/// 정지 그림의 실시간판 — 지켜보는 행성의 형태 · 색, 없으면 [planetFallbackImage].
|
||||
/// 히어로([LivePlanet25D])와 같은 원천이라 접힌 앱 바의 작은 그림이 히어로와 갈리지 않는다.
|
||||
class LivePlanetArt extends StatelessWidget {
|
||||
const LivePlanetArt({
|
||||
super.key,
|
||||
required this.fandomId,
|
||||
required this.watch,
|
||||
required this.size,
|
||||
this.nebula = false,
|
||||
});
|
||||
final String fandomId;
|
||||
final PlanetWatch watch;
|
||||
final double size;
|
||||
final bool nebula;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => LiveStreamBuilder<PlanetVisualState>(
|
||||
key: ValueKey(('planet-art', fandomId)),
|
||||
create: () => watch(fandomId),
|
||||
builder: (context, state) => PlanetArt(
|
||||
fallback: planetFallbackImage(fandomId, nebula: nebula),
|
||||
planetType: nebula ? null : state?.planetType,
|
||||
colorKey: state?.colorKey,
|
||||
width: size,
|
||||
height: size,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/// 배경 광량만 바꿔 콘텐츠의 가독성과 화면 구조는 유지한다.
|
||||
class LivePlanetLighting extends StatelessWidget {
|
||||
const LivePlanetLighting({
|
||||
|
||||
Reference in New Issue
Block a user