floodfill_span 0.0.1
floodfill_span: ^0.0.1 copied to clipboard
A flutter package implementing the floodfill algorithm using Span filling
FloodFill Span #
A Dart package that provides efficient flood fill algorithms for image processing and painting applications.
Features #
- Fast flood fill implementation using span-based algorithm
- Support for custom boundary conditions
- Works with Flutter's Canvas and Paint classes
- Memory efficient for large areas
- Customizable fill patterns and colors
Getting started #
Add this to your package's pubspec.yaml file:
dependencies:
floodfill_span: ^0.0.1
Usage #
Import the package and use the flood fill algorithm:
FloodFillWidget(
newColor: selectedColor,
onImageChanged: (image) {
_image = image;
},
imageUrl: "",
)
See the example folder for more detailed examples.
Additional information #
Package home: GitHub Repository Bug reports and feature requests: Issue Tracker Documentation: API Reference
License #
This project is licensed under the MIT License - see the LICENSE file for details.