slight cleanups
This commit is contained in:
parent
23046f08a9
commit
00f22d46b7
11 changed files with 24 additions and 33 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue