buildCircularProgressIndicator method
Implementation
@protected
Widget buildCircularProgressIndicator(BuildParameters params) {
final doWorkFunc = events.getFunction(params.context,
params.actions["doWork"], params.state, params.parentContext);
if (doWorkFunc != null) {
Future.delayed(const Duration(milliseconds: 500), doWorkFunc);
}
return CircularProgressIndicator(
key: properties.getKey(params.id),
color: tryParseColor(params.props["color"]),
strokeWidth: parseDouble(params.props["strokeWidth"], defaultValue: 4.0),
strokeAlign: parseDouble(params.props["strokeAlign"]),
);
}