getAnimationsEnabled method
Implementation
bool getAnimationsEnabled() {
final val = getValue(AppConstants.animationsEnabledKey);
if (val is String) return val.toLowerCase() == 'true';
return val is bool ? val : true;
}
bool getAnimationsEnabled() {
final val = getValue(AppConstants.animationsEnabledKey);
if (val is String) return val.toLowerCase() == 'true';
return val is bool ? val : true;
}