TreeMapLabelDecorator<D> constructor

TreeMapLabelDecorator<D>({
  1. TextStyleSpec? labelStyleSpec,
  2. int labelPadding = _defaultLabelPadding,
  3. bool allowLabelOverflow = true,
  4. bool enableMultiline = false,
})

Implementation

TreeMapLabelDecorator(
    {TextStyleSpec? labelStyleSpec,
    this.labelPadding = _defaultLabelPadding,
    this.allowLabelOverflow = true,
    this.enableMultiline = false})
    : labelStyleSpec = labelStyleSpec ?? _defaultLabelStyle;