removeCustomWidget method

void removeCustomWidget(
  1. String name
)

Removes a custom widget from the target project by name.

Custom widgets are not declared via the DSL, so no declaration-conflict check is performed.

Implementation

void removeCustomWidget(String name) {
  _rawMutations.add(
    (project) => custom_code_helpers.removeCustomWidget(project, name: name),
  );
}