Catcher2ErrorWidget constructor

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

Implementation

const Catcher2ErrorWidget({
  super.key,
  this.details,
  required this.showStacktrace,
  required this.title,
  required this.description,
  required this.maxWidthForSmallMode,
}) : assert(
        maxWidthForSmallMode > 0,
        'maxWidthForSmallMode must be positive',
      );