refa custom painter

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-18 22:21:48 +08:00
parent a3ddc83430
commit f5657d2d4c
9 changed files with 586 additions and 275 deletions

View File

@@ -104,9 +104,9 @@ class _EmotePanelState extends State<EmotePanel>
);
if (!isTextEmote) {
child = CustomTooltip(
indicator: () => CustomPaint(
indicator: () => Triangle(
color: color,
size: const Size(14, 8),
painter: TrianglePainter(color),
),
overlayWidget: () => Container(
padding: const EdgeInsets.all(8),