use method

void use(
  1. Stylesheet sheet
)

Implementation

void use(Stylesheet sheet) {
  if (sheet is CssFile && loaded.contains(sheet.href)) {
    return;
  }

  sheet.apply();

  if (sheet is CssFile) {
    loaded.add(sheet.href);
  }
}