You need the firebase_app_check package, and then
see the implementation of it in this URL, it's easy https://firebase.google.com/docs/app-check/flutter/default-providers#initialize