setPadding method

void setPadding(
  1. EdgeInsets? padding
)

set padding

Implementation

void setPadding(EdgeInsets? padding) {
  _padding = padding;
  refresh();
  if (!_isLoading) {
    getMindMap()?.onChanged();
  }
}