// ๐Ÿชถ ๊ฒ€์ • AppBar ๋Œ€์‹  ์“ฐ๋Š” ๋‘ฅ๊ทผ ์ œ๋ชฉ ์•Œ์•ฝ. ๋ชจ๋“  ํ™”๋ฉด์ด ๋˜‘๊ฐ™์€ ํฐํŠธ/ํฌ๊ธฐ๋ฅผ ์“ฐ๊ณ , // ํ™”๋ฉด ๋งจ ์œ„์— ๋”ฑ ๋ถ™์–ด ๋ณด์ด์ง€ ์•Š๋„๋ก ์œ„์ชฝ์— ์‚ด์ง ์—ฌ๋ฐฑ์„ ๋‘”๋‹ค. // ๐Ÿ›๏ธ ํ”„๋กœํ•„ ๊พธ๋ฏธ๊ธฐ ํ…œํ”Œ๋ฆฟ์„ ์žฅ์ฐฉํ•˜๋ฉด ์ด ์•Œ์•ฝ ๋ฐฐ๊ฒฝ๋„ ๊ฐ™์ด ๋ฐ”๋€๋‹ค - ์•ฑ ์ „์ฒด๊ฐ€ // ๊ณต์œ ํ•˜๋Š” ์œ„์ ฏ์ด๋ผ ์—ฌ๊ธฐ ํ•˜๋‚˜๋งŒ ๊ณ ์น˜๋ฉด ๋ชจ๋“  ํ™”๋ฉด์˜ ์ œ๋ชฉ ๋ฐฐ๊ฒฝ์ด ํ•œ๋ฒˆ์— ๋ฐ”๋€๋‹ค. import 'package:flutter/material.dart'; import '../theme/app_palette.dart'; import '../theme/theme_sync.dart'; class TitlePill extends StatelessWidget { final String text; const TitlePill(this.text, {super.key}); @override Widget build(BuildContext context) { return ValueListenableBuilder( valueListenable: globalProfileTheme, builder: (context, theme, _) { return Padding( padding: const EdgeInsets.only(top: 8), child: Container( padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 10), decoration: BoxDecoration( color: theme?.secondary ?? AppPalette.ink, borderRadius: BorderRadius.circular(999), ), child: Text( text, style: const TextStyle( color: Colors.white, fontWeight: FontWeight.bold, fontSize: 15, ), ), ), ); }, ); } }