error2 static method

PageRouteBuilder error2(
  1. String error
)

Implementation

static PageRouteBuilder error2(String error) {
  return FadeRoute(
      name: 'error',
      page: Scaffold(body: Center(child: Text(error))),
      milliseconds: 1000);
}