Skip to content

Commit

Permalink
style: Enforce always_declare_return_types linting rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Penfore committed Aug 6, 2024
1 parent b46adb0 commit 954e74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dither_it.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class DitherIt {
/// [image]: The input image to be dithered.
///
/// Returns the dithered image.
static floydSteinberg({required Image image}) {
static Image floydSteinberg({required Image image}) {
final Image newImage = Image.from(image);

for (int y = 0; y < image.height; y++) {
Expand Down

0 comments on commit 954e74f

Please sign in to comment.