Build a production-ready QR scanner in Flutter with mobile_scanner: permissions, controller configuration, lifecycle handling, and deduplication.