성운명 오류 문구 줄바꿈 · 옛 행성 그림 통일 · 광고 안내 모달 줄바꿈
This commit is contained in:
@@ -7,6 +7,7 @@ import '../campaign/widgets/campaign_rank.dart' show RankPodium;
|
||||
|
||||
import '../../core/data/backend.dart' show BackendException;
|
||||
import '../../core/data/planet_visual_state.dart';
|
||||
import '../../core/ui/live_planet.dart' show LivePlanetArt;
|
||||
|
||||
import '../../core/theme/tokens.dart';
|
||||
import '../../core/ui/app_dialog.dart';
|
||||
@@ -158,6 +159,7 @@ class _PlanetDetailScreenState extends State<PlanetDetailScreen> {
|
||||
],
|
||||
flexibleSpace: _CollapsingHero(
|
||||
detail: d,
|
||||
watchPlanet: widget.watchPlanet,
|
||||
min: top + kToolbarHeight + _tabHeight,
|
||||
hero: PlanetDetailHero(
|
||||
fandomId: d.fandomId,
|
||||
@@ -322,9 +324,11 @@ class _CollapsingHero extends StatelessWidget {
|
||||
required this.detail,
|
||||
required this.min,
|
||||
required this.hero,
|
||||
required this.watchPlanet,
|
||||
});
|
||||
|
||||
final PlanetDetail detail;
|
||||
final PlanetWatch watchPlanet;
|
||||
final double min;
|
||||
final Widget hero;
|
||||
|
||||
@@ -356,10 +360,11 @@ class _CollapsingHero extends StatelessWidget {
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Image.asset(
|
||||
'assets/figma/planet-detail-hero.png',
|
||||
width: 28,
|
||||
height: 28,
|
||||
LivePlanetArt(
|
||||
fandomId: detail.fandomId,
|
||||
watch: watchPlanet,
|
||||
size: 28,
|
||||
nebula: detail.isNebula,
|
||||
),
|
||||
const SizedBox(width: AppSpace.s2),
|
||||
Flexible(
|
||||
|
||||
Reference in New Issue
Block a user