ErrorScreen constructor

const ErrorScreen({
  1. Key? key,
  2. required String message,
})

Implementation

const ErrorScreen({Key? key, required this.message}) : super(key: key);