void shake({double intensity = 10.0, Duration? duration}) { viewfinder.add( ShakeEffect( intensity: intensity, duration: duration ?? const Duration(milliseconds: 300), ), ); }