getLoadingIndicator method
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),
);
}