ErrorScreen.withPositional constructor

const ErrorScreen.withPositional(
  1. Object error,
  2. StackTrace? stackTrace, {
  3. Key? key,
})

Create an instance quickly from Riverpod's ref.watch method.

Implementation

const ErrorScreen.withPositional(this.error, this.stackTrace, {super.key});