HeartbeatProgressIndicator constructor
HeartbeatProgressIndicator({})
Creates heartbeat indicator.
child widget must not be null. startScale is optional and default value is 1.0. endScale is optional and default value is 2.0. duration is optional and default value is 1 second.
Implementation
HeartbeatProgressIndicator({
this.duration = const Duration(seconds: 1),
this.startScale: 1.0,
this.endScale: 2.0,
required this.child,
}) : assert(child != null);