LoadingBuilder constructor
const
LoadingBuilder({})
Pass multiple Future/FutureOr/Null data and display loading or CircularProgressIndicator until all completions are completed.
Pass the target Future in futures.
In builder, you can specify the widget to be drawn after futures is completed.
If indicatorColor is specified, the color of CircularProgressIndicator can be changed when it is displayed when loading is not specified.
複数のFuture/FutureOr/Nullデータを渡してすべての完了を完了するまでloadingやCircularProgressIndicatorを表示します。
builderでfuturesが完了した後に描画するウィジェットを指定できます。
indicatorColorを指定するとloadingを指定しない場合にCircularProgressIndicatorを表示するときにその色を変えることができます。
Implementation
const LoadingBuilder({
super.key,
required this.futures,
required this.builder,
this.indicatorColor,
this.loading,
});