EmptyView constructor

const EmptyView({
  1. required Widget description,
  2. Widget? illustration,
  3. Widget? action,
  4. bool reversed = false,
  5. Key? key,
})

The default constructor for EmptyView.

It takes description, illustration and action widgets and a reversed boolean variable. This allows full flexibility and customisability for building the widget.

Implementation

const EmptyView({
  required this.description,
  this.illustration,
  this.action,
  this.reversed = false,
  Key? key,
}) : super(key: key);