Prepare 0.7.9 with decisive Dock tap transitions
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
const appVersion = '0.7.8';
|
||||
const appBuildNumber = 34;
|
||||
const appVersion = '0.7.9';
|
||||
const appBuildNumber = 35;
|
||||
const appFilingNumber = '蜀ICP备2025169276号-5A';
|
||||
|
||||
@@ -35,7 +35,7 @@ class _GlassDockState extends State<GlassDock> with TickerProviderStateMixin {
|
||||
);
|
||||
late final AnimationController _tap = AnimationController(
|
||||
vsync: this,
|
||||
duration: const Duration(milliseconds: 620),
|
||||
duration: const Duration(milliseconds: 420),
|
||||
);
|
||||
late final AnimationController _sway = AnimationController.unbounded(
|
||||
vsync: this,
|
||||
@@ -212,7 +212,7 @@ class _GlassDockState extends State<GlassDock> with TickerProviderStateMixin {
|
||||
_motion.animateWith(
|
||||
SpringSimulation(
|
||||
springyTap
|
||||
? const SpringDescription(mass: 1, stiffness: 350, damping: 20)
|
||||
? const SpringDescription(mass: 1, stiffness: 620, damping: 36)
|
||||
: const SpringDescription(mass: 1, stiffness: 360, damping: 26),
|
||||
_position,
|
||||
index.toDouble(),
|
||||
|
||||
@@ -12,7 +12,7 @@ class TabDeck extends StatefulWidget {
|
||||
class _TabDeckState extends State<TabDeck> with SingleTickerProviderStateMixin {
|
||||
late final AnimationController _motion = AnimationController(
|
||||
vsync: this,
|
||||
duration: const Duration(milliseconds: 330),
|
||||
duration: const Duration(milliseconds: 240),
|
||||
value: 1,
|
||||
);
|
||||
int? _outgoing;
|
||||
|
||||
Reference in New Issue
Block a user