progress_card 0.2.0
progress_card: ^0.2.0 copied to clipboard
A customizable bordered progress card widget for Flutter.
Changelog #
0.2.0 #
- Breaking:
progressColorinternal field replaced by a true linear gradient shader. The visible API (progressStartColor/progressEndColor) is unchanged, but the gradient is now painted along the stroke rather than being a single interpolated flat colour. - Added
gapparameter toBorderProgressCard(default2.0) — controls the spacing between the progress stroke and the inner card surface. - Fixed
shouldRepaintto compareprogressStartColorandprogressEndColorseparately (previously only compared a pre-computed single colour). - Fixed example app: step-text field now calls
setStateso the label updates live. - Fixed example app: the third slider is now connected to a visible
BorderProgressCard. - Expanded test suite: boundary values (0 % / 100 %), custom styling params, assertion checks, and golden-test stubs.
0.1.0 #
- Initial release of
progress_card. - Added
BorderProgressCardwidget with configurable:- progress start/end colors
- track color
- surface and inner border colors
- stroke width and corner radius
- Added example showcase app under
example/. - Added tests, documentation, and CI workflows.