inrease animation timeout; disable animation for fab
This commit is contained in:
@@ -187,8 +187,8 @@ class _TabBar extends HookConsumerWidget {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return AnimatedSize(
|
return AnimatedSize(
|
||||||
duration: const Duration(milliseconds: 125),
|
duration: const Duration(milliseconds: 250),
|
||||||
curve: Curves.easeInOut,
|
curve: Curves.easeInOutQuart,
|
||||||
child: Visibility(
|
child: Visibility(
|
||||||
visible:
|
visible:
|
||||||
sheetController.value != null ||
|
sheetController.value != null ||
|
||||||
|
|||||||
+1
-8
@@ -67,13 +67,6 @@ class BrowserFab extends HookConsumerWidget {
|
|||||||
child = const SizedBox.shrink(key: ValueKey('no_fab'));
|
child = const SizedBox.shrink(key: ValueKey('no_fab'));
|
||||||
}
|
}
|
||||||
|
|
||||||
return AnimatedSwitcher(
|
return child;
|
||||||
key: child.key,
|
|
||||||
duration: const Duration(milliseconds: 200),
|
|
||||||
transitionBuilder: (child, animation) {
|
|
||||||
return ScaleTransition(scale: animation, child: child);
|
|
||||||
},
|
|
||||||
child: child,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user