static bool isStringSvg(String? value) { if (value == null) return false; return RegExp(r'^(<svg){1}[.\s\S]*(<\/svg>){1}$').hasMatch(value); }