completionValue property

double completionValue
final

This value must be between 0 and 1.

If not equal to 1, the button will use disabled state decoration.

If not equal to 0 the button will fill horizontally only the completationValue percent of the width. Fill color will always be decorations.backgroundColor

! Works even in loading state !

Default to 1 (no changes to "normal" button)

Implementation

final double completionValue;