initialize static method

void initialize()

Implementation

static void initialize() {
  ErrorWidget.builder = ((details) => MaterialApp(
        debugShowCheckedModeBanner: false,
        theme: ThemeData(
          textTheme: GoogleFonts.openSansTextTheme(),
        ),
        home: ErrorScreen(
          details.exceptionAsString(),
        ),
      ));
}