mirror of
https://github.com/block/buzz.git
synced 2026-11-25 18:52:52 +00:00
Match camera readiness fade to 230 ms
Co-authored-by: Terp <5856f6900e8e0a4e0ea1f4f8d2ee33e4753d2119bc122f94ecafc660b46c0511@buzz.block.builderlab.xyz> Signed-off-by: kenny lopez <klopez4212@gmail.com>
This commit is contained in:
@@ -38,7 +38,7 @@ class _QrScannerCamera extends HookWidget {
|
||||
opacity: ready || state.error != null ? 1 : 0,
|
||||
duration: MediaQuery.disableAnimationsOf(context) || state.error != null
|
||||
? Duration.zero
|
||||
: const Duration(milliseconds: 180),
|
||||
: const Duration(milliseconds: 230),
|
||||
curve: Curves.easeOut,
|
||||
child: MobileScanner(
|
||||
controller: controller,
|
||||
|
||||
Reference in New Issue
Block a user