getEmptyComponent method

RenderComponent? getEmptyComponent()

Empty component is a component that is returned when there is no entry in the model. It is used for example to render empty notification on empty tables for example. By default, it returns null, which means no component is rendered.

Unlike getItemComponent, empty component is fetched once and then stored.

Implementation

RenderComponent? getEmptyComponent() {
  return null;
}