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.
Libraries
- floodfill_span
- floodfill_widget
- A widget that displays an image and allows flood fill operations on it.
- image_floodfill_span
- A class that implements the flood fill algorithm for an image.
- image_helper