Skip to content

主APP入口是StoreProvider 的情况下,怎么使用 #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
muziling opened this issue Dec 23, 2019 · 1 comment
Closed

主APP入口是StoreProvider 的情况下,怎么使用 #45

muziling opened this issue Dec 23, 2019 · 1 comment

Comments

@muziling
Copy link

我的代码入口是 StoreProvider ,怎么用 oktoast
class MyApp extends StatelessWidget {
final Store store;

MyApp({this.store});

// This widget is the root of your application.
@OverRide
Widget build(BuildContext context) {
return StoreProvider(
store: store,
child: MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(

@CaiJingLong
Copy link
Member

Wrap StoreProvider or MaterialApp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants