pageControlSpec

fun pageControlSpec(dotRadius: Dp = Dp.Unspecified, dotSpace: Dp = Dp.Unspecified, verticalPadding: Dp = Dp.Unspecified): PageControlSpec

Customize PageControlSpec used for PageControl.

Return

The new PageControlSpec instance with expected indicatorColor and backgroundColor.

Parameters

dotRadius

Specifies the radius of each dot in the page control. The default value is Dp.Unspecified, indicating no value is specified.

dotSpace

Specifies the space between each dot in the page control. The default value is Dp.Unspecified, indicating no value is specified.

verticalPadding

Specifies the vertical padding for the page control. The default value is Dp.Unspecified, indicating no value is specified.