ClueErrorText constructor

const ClueErrorText({
  1. Key? key,
  2. required String errorText,
  3. required void onRefresh(),
})

Creates a ClueErrorText.

errorText is the error message to be displayed. onRefresh is the callback function to be called when the refresh button is pressed.

Implementation

const ClueErrorText({
  super.key,
  required this.errorText,
  required this.onRefresh,
});