materialWrapper function
Use this wrapper to wrap each story into a MaterialApp widget.
Implementation
Widget materialWrapper(BuildContext _, Widget? child) => MaterialApp(
theme: ThemeData.light(),
darkTheme: ThemeData.dark(),
debugShowCheckedModeBanner: false,
home: Scaffold(body: Center(child: child)),
);