getColorXmlContent function

String getColorXmlContent(
  1. String color
)

Get color xml content

Implementation

String getColorXmlContent(String color) {
  return '''
<?xml version="1.0" encoding="utf-8"?>
<resources>
  <color name="ic_launcher_background">${color.toUpperCase()}</color>
</resources>
''';
}