container_gradient_border 0.1.1
container_gradient_border: ^0.1.1 copied to clipboard
A Flutter widget that applies a gradient border to any child widget using CustomPaint. Supports LinearGradient, RadialGradient, and SweepGradient. Sizes to child automatically — no fixed height/width required.
0.1.1 #
- Added
screenshotsfield topubspec.yamlfor pub.dev gallery display
0.1.0 #
- Breaking: Replaced nested-container implementation with
CustomPaintfor accurate gradient stroke rendering - Breaking: Removed
colorList,start,end,height,width,childAlignmentparameters - New:
gradientparameter accepts anyGradienttype (LinearGradient,RadialGradient,SweepGradient) - New: Widget sizes to its child automatically — no fixed
height/widthrequired - New:
paddingparameter for inner content spacing - Fixed: Inner corner radius is now geometrically correct
- Fixed: All parameters are non-nullable; removed unsafe force-unwraps (
!) - Fixed: Negative inner dimensions no longer possible
- Updated Dart SDK constraint to
>=3.0.0 <4.0.0 - Updated
flutter_lintsto^4.0.0 - Added dartdoc comments to all public API members
- Expanded test coverage from 0 to 27 tests
0.0.2 #
Update README
0.0.1 #
Initial release
