getLoadingIndicator method

Widget? getLoadingIndicator(
  1. Map? spec
)

Implementation

Widget? getLoadingIndicator(Map? spec) {
  if (spec == null) {
    return null;
  }
  return CircularProgressIndicator(
    color: tryParseColor(spec["color"]),
    backgroundColor: tryParseColor(spec["backgroundColor"]),
    strokeWidth: parseDouble(spec["strokeWidth"], defaultValue: 4.0),
  );
}