A Dart package that provides efficient flood fill algorithms for image processing and painting applications.
- 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
Add this to your package's pubspec.yaml file:
dependencies:
floodfill_span: ^0.0.1Import the package and use the flood fill algorithm:
FloodFillWidget(
newColor: selectedColor,
onImageChanged: (image) {
_image = image;
},
imageUrl: "",
)
See the example folder for more detailed examples.
Package home: GitHub Repository Bug reports and feature requests: Issue Tracker Documentation: API Reference
This project is licensed under the MIT License - see the LICENSE file for details.
