slight cleanups

This commit is contained in:
Henry Hiles 2026-10-16 10:56:55 -04:00
commit 00f22d46b7
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
11 changed files with 24 additions and 33 deletions

View file

@ -9,7 +9,7 @@ class const SpoilerText(final String text, {super.key}) extends HookWidget {
return InkWell(
onTap: () => revealed.value = !revealed.value,
child: AnimatedContainer(
duration: const .new(milliseconds: 100),
duration: Durations.short2,
padding: const .symmetric(horizontal: 4, vertical: 2),
decoration: BoxDecoration(
color: revealed.value ? Colors.transparent : Colors.blueGrey,