Platforms
dart
Description
Currently, in flutter_drawing_board, there is no straightforward way to check if the drawing board is visually empty.
controller.history keeps all operations (draw + erase), so it cannot be used to detect if the board has visible strokes.
After erasing strokes manually (without calling clear()), there is no direct flag or method to determine whether the board is completely clean.
Why
This makes it difficult for developers to implement features like:
- Enabling/disabling a "Save" button only when the board has content.
- Automatically prompting the user when leaving a board that has visible strokes.
Platforms
dart
Description
Currently, in flutter_drawing_board, there is no straightforward way to check if the drawing board is visually empty.
controller.history keeps all operations (draw + erase), so it cannot be used to detect if the board has visible strokes.
After erasing strokes manually (without calling clear()), there is no direct flag or method to determine whether the board is completely clean.
Why
This makes it difficult for developers to implement features like: