formatFiled method
Implementation
String formatFiled(String path, String projectPath, bool isPreview) {
if (isPreview) {
return '''
/// })
static const String ${_formatFiledName(path)} = '$path';\n''';
}
return '''
static const String ${_formatFiledName(path)} = '$path';\n''';
}