setFollowSystem static method
Enable or disable system theme following.
When enabled, the app will automatically switch between light and dark themes based on the device's brightness setting.
Implementation
static Future<void> setFollowSystem(bool follow) async {
await NyThemeManager.instance.setFollowSystemTheme(follow);
}