Provider: Anyone using provider in production/open-source apps?

Created on 13 May 2019  ·  9Comments  ·  Source: rrousselGit/provider

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!

discussion

Most helpful comment

我也写了一篇 Provider 的中文介绍 https://juejin.im/post/5d00a84fe51d455a2f22023f

All 9 comments

Diet Friends (다이어트 프렌즈) is a chatbot app to help your diet. Currently only Korean is supported.

iOS: https://apps.apple.com/app/id1466899980
Android: not published yet

我也写了一篇 Provider 的中文介绍 https://juejin.im/post/5d00a84fe51d455a2f22023f

Fun Android with Provider mvvm
Source Code: https://github.com/phoenixsky/fun_android_flutter/blob/master/README-EN.md

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 HaithamSheshtawy provider-guide

can you use provider for authentication?

can you use provider for authentication?

Yes @irperera ! It works specially well with firebase_auth, take a look here for an example of how you could do it.

Yes, I use it in production.
Android app link (to see the scale of app) - https://play.google.com/store/apps/details?id=in.ckzero.batua

My main.dart looks like this. All the stores which are basically classes extending ChangeNotifier are provided as a club of providers within a MultiProvoder.
image

provider is heavily used in GitTouch, an open-source mobile app for Git services including GitHub, GitLab, Bitbucket and Gitea. Thanks for the work!

iOS: https://apps.apple.com/us/app/gittouch/id1452042346
Android: https://play.google.com/store/apps/details?id=io.github.pd4d10.gittouch

Source Code: https://github.com/git-touch/git-touch

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
Android: coming soon, available in Releases
Web: https://app-icon.tools
macOS: coming not so soon, available in Releases
Linux: coming soon, available in Releases
Windows: coming soon, available in Releases

Source Code: https://github.com/tsinis/app_icon_tools

Version: 4.3.2+3

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sanekyy picture sanekyy  ·  5Comments

jihongboo picture jihongboo  ·  4Comments

Alfie-AD picture Alfie-AD  ·  4Comments

mhd-barikhan picture mhd-barikhan  ·  5Comments

prasadsunny1 picture prasadsunny1  ·  6Comments