errorPlaceholder property

(Widget Function(Object error, StackTrace stackTrace)?) errorPlaceholder
final

If the dashboardItemController uses a DashboardItemStorageDelegate, the loading of the items initially is done with a FutureOr function.

If the function throws a exception Dashboard will call errorPlaceholder and shows returned widget.

Implementation

final Widget Function(Object error, StackTrace stackTrace)? errorPlaceholder;