createLinearDrawable

Creates an instance of DeterminateDrawable for LinearProgressIndicator with LinearProgressIndicatorSpec.

Parameters

context

The current context.

spec

The spec for the linear indicator.