Skip to content

donkizzy/floodfill_span

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FloodFill Span

A Dart package that provides efficient flood fill algorithms for image processing and painting applications.

flood-demo-ezgif com-video-to-gif-converter

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.

About

A flutter package implementing the floodfill algorithm using Span filling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published