CatcherErrorWidget constructor

const CatcherErrorWidget({
  1. required bool showStacktrace,
  2. required String title,
  3. required String description,
  4. required double maxWidthForSmallMode,
  5. Key? key,
  6. FlutterErrorDetails? details,
})

Implementation

const CatcherErrorWidget({
  required this.showStacktrace,
  required this.title,
  required this.description,
  required this.maxWidthForSmallMode,
  super.key,
  this.details,
}) : assert(
        maxWidthForSmallMode > 0,
        'Max width for small mode must be greater than 0',
      );