getLoadingIndicator method
Implementation
Widget getLoadingIndicator() {
var loadingIndicatorSpec = props["loadingIndicator"] ?? {};
return Center(
child: Padding(
padding: const EdgeInsets.all(10),
child: CircularProgressIndicator(
color: tryParseColor(loadingIndicatorSpec["color"]),
backgroundColor:
tryParseColor(loadingIndicatorSpec["backgroundColor"]),
strokeWidth: parseDouble(loadingIndicatorSpec["strokeWidth"],
defaultValue: 4.0),
)),
);
}