inProviders method

Widget inProviders (
  1. {Key key,
  2. Auth auth,
  3. Dice dice,
  4. Store store}
)

Implementation

static Widget inProviders({Key key, Auth auth, Dice dice, Store store}) => MultiProvider(
      key: key,
      providers: [
        Provider(create: (_) => const AppRouter()),
        Provider(create: (_) => auth ?? const Auth()),
        Provider(create: (_) => store ?? Store(Firestore.instance)),
        Provider(create: (_) => dice ?? const Dice()),
      ],
      child: const HumanLifeGameApp._(),
    );