ErrorScreen constructor

const ErrorScreen({
  1. Key? key,
  2. Function? onPressed,
})

Implementation

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