getCssUI method

String getCssUI()

Generates the HTML for including CSS assets in the frontend.

Returns a string containing the <link> tags for each CSS asset.

Implementation

String getCssUI() {
  List<String> result = [];

  for (var c in css) {
    result.add('<link rel="stylesheet" href="${c.url}" />');
  }

  return result.join('\n');
}