getStretchMode method
Implementation
StretchMode? getStretchMode(String? value) {
if (value == null || value.isEmpty) return null;
switch (value) {
case "fadeTitle":
return StretchMode.fadeTitle;
case "blurBackground":
return StretchMode.blurBackground;
default:
return StretchMode.zoomBackground;
}
}