check
This commit is contained in:
@@ -183,6 +183,13 @@ class _PosDashboardScreenState extends ConsumerState<PosDashboardScreen> {
|
||||
Expanded(
|
||||
child: AnimatedSwitcher(
|
||||
duration: AppMotion.fast,
|
||||
// Top, not the default centre. The switcher stacks its
|
||||
// children with loose constraints, so a module page
|
||||
// shorter than the viewport — Promotions with two
|
||||
// campaigns, Product Import before anything is pulled —
|
||||
// sized itself to its content and then floated in the
|
||||
// middle of the screen with dead space above it.
|
||||
|
||||
child: KeyedSubtree(
|
||||
key: ValueKey(module),
|
||||
child: _body(module, layout),
|
||||
|
||||
Reference in New Issue
Block a user