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

@@ -105,9 +105,9 @@ class _LiveEmotePanelState extends State<LiveEmotePanel>
}
},
child: CustomTooltip(
indicator: () => CustomPaint(
indicator: () => Triangle(
color: color,
size: const Size(14, 8),
painter: TrianglePainter(color),
),
overlayWidget: () => Container(
padding: const EdgeInsets.all(8),