CustomErrorWidget constructor

const CustomErrorWidget({
  1. Key? key,
  2. required FlutterErrorDetails errorDetails,
  3. required bool showErrorDetails,
  4. required String logoAsset,
  5. required dynamic onRestart(
    1. BuildContext
    ),
})

Implementation

const CustomErrorWidget({
  Key? key,
  required this.errorDetails,
  required this.showErrorDetails,
  required this.logoAsset,
  required this.onRestart,
}) : super(key: key);