removeWidget

abstract fun removeWidget(@NotNull widgetId: @NotNull String): Boolean

Removes the specified widget from the configuration.

Return

true if the widget was successfully removed, false otherwise.

Parameters

widgetId

Unique identifier for the widget to be removed.