Anyone using provider in production/open-source apps? #746
Replies: 11 comments
-
I recommended this Structure for Provider. |
Beta Was this translation helpful? Give feedback.
-
Diet Friends (다이어트 프렌즈) is a chatbot app to help your diet. Currently only Korean is supported. iOS: https://apps.apple.com/app/id1466899980 |
Beta Was this translation helpful? Give feedback.
-
我也写了一篇 Provider 的中文介绍 https://juejin.im/post/5d00a84fe51d455a2f22023f |
Beta Was this translation helpful? Give feedback.
-
Fun Android with Provider mvvm Widget build(BuildContext context) {
super.build(context);
return ProviderWidget<StructureListModel>(
model: StructureListModel(widget.cid),
onModelReady: (model) => model.initData(),
builder: (context, model, child) {
if (model.busy) {
return ViewStateSkeletonList(
builder: (context, index) => ArticleSkeletonItem(),
);
} else if (model.error) {
return ViewStateWidget(onPressed: model.initData);
} else if (model.empty) {
return ViewStateEmptyWidget(onPressed: model.initData);
}
return SmartRefresher(
controller: model.refreshController,
header: WaterDropHeader(),
footer: RefresherFooter(),
onRefresh: model.refresh,
onLoading: model.loadMore,
enablePullUp: true,
child: ListView.builder(
itemCount: model.list.length,
itemBuilder: (context, index) {
Article item = model.list[index];
return ArticleItemWidget(item);
}));
},
);
} Thanks |
Beta Was this translation helpful? Give feedback.
-
can you use provider for authentication? |
Beta Was this translation helpful? Give feedback.
-
Yes @irperera ! It works specially well with firebase_auth, take a look here for an example of how you could do it. |
Beta Was this translation helpful? Give feedback.
-
Yes, I use it in production. My |
Beta Was this translation helpful? Give feedback.
-
iOS: https://apps.apple.com/us/app/gittouch/id1452042346 Source Code: https://github.com/git-touch/git-touch |
Beta Was this translation helpful? Give feedback.
-
Hey! I'm using Provider as a core of App Icon Tools (app for preview (shapes/animations), issue warnings, and generation of (launcher/desktop) app icons for Flutter apps (web, macOS, Windows, Android Adaptive, etc. icons including), which is available on all operating systems that Flutter offers to build. iOS: coming not so soon Source Code: https://github.com/tsinis/app_icon_tools Version: 4.3.2+3 |
Beta Was this translation helpful? Give feedback.
-
More |
Beta Was this translation helpful? Give feedback.
-
Let's convert this to a discussion instead, now that that's a thing. |
Beta Was this translation helpful? Give feedback.
-
Similar to:
reactiveui/ReactiveUI#979
PrismLibrary/Prism#1016
brianegan/flutter_redux#86
felangel/bloc#139
If anyone is using the library then please give your input.
Use the following template:
If available on stores
iOS:
Android:
If open source
Source Code:
Your opinion
Version: ?
Years of experience: ?
Good: ?
Bad: ?
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions