ErrorScreen constructor

ErrorScreen({
  1. Function? onPressed,
  2. String msg = 'Something went wrong, please retry.',
})

Implementation

ErrorScreen(
    {this.onPressed, this.msg = 'Something went wrong, please retry.'});