frameWidget method

Widget frameWidget(
  1. BuildContext context,
  2. Widget child,
  3. int? frame,
  4. bool wasSynchronouslyLoaded,
)

Implementation

Widget frameWidget(BuildContext context, Widget child, int? frame, bool wasSynchronouslyLoaded) {
  if (wasSynchronouslyLoaded) return child;
  if (frame == 0) return child;
  return const CircularProgressIndicator();
}