WIP: fade-through tab transitions (run #228)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import '../ui/motion/motion.dart';
|
||||
import '../ui/motion/fade_through_stack.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
@@ -316,7 +317,7 @@ class _AdaptiveShellState extends State<AdaptiveShell> {
|
||||
);
|
||||
}
|
||||
|
||||
Widget _destinationStack(List<Widget> contents) => IndexedStack(
|
||||
Widget _destinationStack(List<Widget> contents) => FadeThroughStack(
|
||||
key: _destinationStackKey,
|
||||
index: AppDestination.values.indexOf(_selected),
|
||||
children: contents,
|
||||
|
||||
Reference in New Issue
Block a user