update
This commit is contained in:
@@ -90,21 +90,22 @@ class CharacterStatusCard extends StatelessWidget {
|
||||
}).toList(),
|
||||
),
|
||||
),
|
||||
Text(
|
||||
"ATK: ${character.totalAtk}",
|
||||
style: const TextStyle(color: ThemeConfig.textColorWhite),
|
||||
),
|
||||
Text(
|
||||
"DEF: ${character.totalDefense}",
|
||||
style: const TextStyle(color: ThemeConfig.textColorWhite),
|
||||
),
|
||||
Text(
|
||||
"LUCK: ${character.totalLuck}",
|
||||
style: const TextStyle(color: ThemeConfig.textColorWhite),
|
||||
),
|
||||
// Text(
|
||||
// "ATK: ${character.totalAtk}",
|
||||
// style: const TextStyle(color: ThemeConfig.textColorWhite),
|
||||
// ),
|
||||
// Text(
|
||||
// "DEF: ${character.totalDefense}",
|
||||
// style: const TextStyle(color: ThemeConfig.textColorWhite),
|
||||
// ),
|
||||
// Text(
|
||||
// "LUCK: ${character.totalLuck}",
|
||||
// style: const TextStyle(color: ThemeConfig.textColorWhite),
|
||||
// ),
|
||||
],
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 8), // 아이콘과 정보 사이 간격
|
||||
// 캐릭터 아이콘/이미지 영역 추가
|
||||
BattleAnimationWidget(
|
||||
key: animationKey,
|
||||
@@ -132,7 +133,7 @@ class CharacterStatusCard extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 8), // 아이콘과 정보 사이 간격
|
||||
// const SizedBox(height: 8), // 아이콘과 정보 사이 간격
|
||||
if (!isPlayer && !hideStats)
|
||||
Consumer<BattleProvider>(
|
||||
builder: (context, provider, child) {
|
||||
@@ -149,14 +150,14 @@ class CharacterStatusCard extends StatelessWidget {
|
||||
),
|
||||
child: Column(
|
||||
children: [
|
||||
Text(
|
||||
"INTENT",
|
||||
style: TextStyle(
|
||||
color: ThemeConfig.enemyIntentBorder,
|
||||
fontSize: 10,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
// Text(
|
||||
// "INTENT",
|
||||
// style: TextStyle(
|
||||
// color: ThemeConfig.enemyIntentBorder,
|
||||
// fontSize: 10,
|
||||
// fontWeight: FontWeight.bold,
|
||||
// ),
|
||||
// ),
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
@@ -168,11 +169,18 @@ class CharacterStatusCard extends StatelessWidget {
|
||||
size: 16,
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
Text(
|
||||
intent.description,
|
||||
style: const TextStyle(
|
||||
color: ThemeConfig.textColorWhite,
|
||||
fontSize: 12,
|
||||
Flexible(
|
||||
// Use Flexible to allow text to shrink
|
||||
child: FittedBox(
|
||||
fit:
|
||||
BoxFit.scaleDown, // Shrink text if too long
|
||||
child: Text(
|
||||
intent.description,
|
||||
style: const TextStyle(
|
||||
color: ThemeConfig.textColorWhite,
|
||||
fontSize: 12,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user