createLinearDrawable

Creates an instance of IndeterminateDrawable for LinearProgressIndicator with LinearProgressIndicatorSpec.

Parameters

context

The current context.

spec

The spec for the linear indicator.