並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 2 件 / 2件

新着順 人気順

providerscope not foundの検索結果1 - 2 件 / 2件

  • Riverpod: A deep dive “on the surface”

    The one controversy about flutter is the fact that there is way “too many” state management solutions and making the choice for which to use is a challenge. There is some truth to that as well as the fact that there is a mostly overlooked advantage to this, I will write a detailed article about this sometime soon, but the one advantage is that it is rather easier to have state management solutions

      Riverpod: A deep dive “on the surface”
    • Flutterで非同期通信に対応したListViewの無限スクロールを実装する | ZUMA Lab

      今回は Flutter で非同期通信に対応した ListView の無限スクロール処理を実装します。 良くあるページング可能な外部 API を利用した ListView を実装するユースケースですね。 今回は実際には API は実行せず、Future.delayed で 数秒処理を遅らせて非同期通信を再現しています。 状態管理は Riverpod で行っています。 今回は非同期部分と無限スクロール部分のみ掲載しますので、全てのソースコードは Github を参照ください。 環境macOS Big Sur 11.2.1Android Studio 4.1.2Flutter 2.0.0Dart 2.12.0package を install するpubspec.yaml に Riverpod package を追記します。 今回は Riverpod に hooks_riverpod 、その他

        Flutterで非同期通信に対応したListViewの無限スクロールを実装する | ZUMA Lab
      1