WorkingIndicatorBuilder.linear constructor
WorkingIndicatorBuilder.linear({})
Render a LinearProgressIndicator if stated
is working.
User duration
and curve
to control fading animation
Implementation
factory WorkingIndicatorBuilder.linear({
Key? key,
required Stated stated,
Duration duration = const Duration(microseconds: 100),
Curve curve = Curves.easeInOut,
}) =>
WorkingIndicatorBuilder.custom(
key: key,
stated: stated,
child: const LinearProgressIndicator(),
builder: _buildAnimation(duration, curve),
);