We can turn the camera flash on the Xiaomi device permanently on or off, or set it to automatic. Then the smartphone will decide if a flash is needed for the given lighting conditions. To set this, we need to tap the flash icon in the camera app and enable the option.

Android 10 (MIUI 12.0)
Step 1:  Open the  Camera app
Step 2:  Tap on  Flash
Step 3:  Turn on/off the  camera flash
  1. Open the Camera app
  2. Tap on Flash
  3. Turn on/off the camera flash

Xiaomi Instructions