THEME_FOLLOW_SYSTEM

@RequiresApi(api = 30)
const val THEME_FOLLOW_SYSTEM: Int = 3

When this ThemeConstant is used, ProgressDialog's theme is automatically changed to match the System's theme each time before show is called. This Constant can be used starting from Android API Level 31 (Android 11) ONLY. Setting theme will throw IllegalArgumentException if this Constant is passed in method call in Android versions lower than Android 11.