EmptyWidgetConfig class

A configuration class for the empty widget.

This class holds the configuration options for the empty widget that is displayed when no results are found.

Annotations

Constructors

EmptyWidgetConfig({String title = "No data found", Widget? customView})
Creates a new instance of EmptyWidgetConfig.
const

Properties

customView → Widget?
A custom widget to be displayed as the empty widget.
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
The title of the empty widget.
final

Methods

copyWith({String? title, Widget? customView}) → EmptyWidgetConfig
Creates a copy of this config with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override