ErrorDialog constructor

ErrorDialog({
  1. Key? key,
  2. required String errorMessage,
  3. bool? previousStatusBarWhiteForeground,
  4. required Function closeFunction,
})

Implementation

ErrorDialog({
  Key? key,
  required this.errorMessage,
  this.previousStatusBarWhiteForeground,
  required this.closeFunction,
})  : assert(errorMessage.isNotEmpty),
      super(key: key);