container_gradient_border 0.2.0 copy "container_gradient_border: ^0.2.0" to clipboard
container_gradient_border: ^0.2.0 copied to clipboard

Flutter gradient border for any child via CustomPaint — linear, radial and sweep gradients, plus dashed, glow, and animated borders. Sizes to child.

0.2.0 #

  • Dashed borders — new dashPattern ([dash, gap, …]) parameter.
  • Glow — new glowColor / glowBlurRadius for an outer glow behind the stroke.
  • Animated borders — new animate / animationDuration to continuously rotate the gradient (great with SweepGradient).
  • Added pubspec topics and repository / issue_tracker, and shields badges in the README.
  • All additive and backward-compatible (no breaking changes).

0.1.2 #

  • Reduced archive size: converted screenshot from PNG (140 KB) to JPEG (74 KB)

0.1.1 #

  • Added screenshots field to pubspec.yaml for pub.dev gallery display

0.1.0 #

  • Breaking: Replaced nested-container implementation with CustomPaint for accurate gradient stroke rendering
  • Breaking: Removed colorList, start, end, height, width, childAlignment parameters
  • New: gradient parameter accepts any Gradient type (LinearGradient, RadialGradient, SweepGradient)
  • New: Widget sizes to its child automatically — no fixed height/width required
  • New: padding parameter 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_lints to ^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

6
likes
160
points
95
downloads
screenshot

Documentation

API reference

Publisher

verified publisherigloodev.in

Weekly Downloads

Flutter gradient border for any child via CustomPaint — linear, radial and sweep gradients, plus dashed, glow, and animated borders. Sizes to child.

Repository (GitHub)
View/report issues

Topics

#gradient #border #container #ui #decoration

License

MIT (license)

Dependencies

flutter

More

Packages that depend on container_gradient_border