feat(app): short motion for collapsibles, badges, new runs and the action bar; none under reduced motion
This commit is contained in:
@@ -37,6 +37,10 @@ class ShellBarRegistry extends ChangeNotifier {
|
||||
|
||||
ShellBarSpec? specFor(AppDestination destination) => _specs[destination]?.$2;
|
||||
|
||||
/// The screen that published [destination]'s bar; it changes when another
|
||||
/// screen takes the bar over.
|
||||
Object? ownerFor(AppDestination destination) => _specs[destination]?.$1;
|
||||
|
||||
void _set(AppDestination destination, Object owner, ShellBarSpec spec) {
|
||||
// A screen's update can land after the shell itself has gone.
|
||||
if (_disposed) return;
|
||||
|
||||
Reference in New Issue
Block a user