EmptyWidgetConfig constructor

const EmptyWidgetConfig({
  1. String title = "No data found",
  2. Widget? customView,
})

Creates a new instance of EmptyWidgetConfig.

The title parameter is used to set the title of the empty widget. By default, it is set to "No data found".

The customView parameter is an optional custom widget to be displayed as the empty widget.

Implementation

const EmptyWidgetConfig({
  this.title = "No data found",
  this.customView,
});