visual_feedback 0.0.1 copy "visual_feedback: ^0.0.1" to clipboard
visual_feedback: ^0.0.1 copied to clipboard

Let users annotate a live screenshot of your Flutter app with pencil, shapes, arrows and text, then get the PNG plus recent logs for bug reports.

0.0.1 #

Initial release.

  • VisualFeedback overlay that captures the wrapped app as a PNG after the user annotates it.
  • Annotation tools: pencil, brush, line, rectangle, circle, arrow, inline text and eraser, with a shared colour palette, stroke widths and text sizes.
  • Every mark stays adjustable: select it to move, resize or delete it.
  • One undo history across all tools; a whole move or resize is one step.
  • Draggable, snapping controls that can be minimised without losing the drawing, plus an optional draggable floating action button.
  • toolbarLayout: in landscape and on desktop the bars run along the bottom edge, with the options opening above (VisualFeedbackToolbarLayout.adaptive, the default). Pin vertical or horizontal to use one layout everywhere.
  • showDescriptionField: confirming opens a panel over the annotated screen where the user can type a description, delivered as VisualFeedbackData.description. Back returns to the drawing intact.
  • VisualFeedbackLabels covers the description panel too and gains copyWith, so the whole editor can be translated by overriding a few labels.
  • VisualFeedbackController to open and close sessions from code, with an optional per-session onFeedback callback.
  • Blurred glass floating bars with a hairline border and soft shadow. The main and secondary bars share one control: the same rounded-square highlight, press and hover feedback, a live stroke-width preview, ringed color swatches and an accent-filled confirm button.
  • VisualFeedbackTheme for colours, icons, sizes, palettes, labels and animation timing, with VisualFeedbackTheme.light and VisualFeedbackTheme.dark presets and copyWith. VisualFeedback follows the platform brightness by default (theme, darkTheme, themeMode).
  • VisualFeedbackLabels: accessibility labels on every control, overridable for localization.
  • VisualFeedbackScreenshot and VisualFeedbackScreenshotController for capturing any subtree, or an off-screen widget, as PNG bytes.
  • Selection chrome and the controls never appear in the captured image.
  • Recent logs attached to feedback: pass logger (a package:logging Logger) and logDuration, and VisualFeedbackData.logs carries the entries recorded up to the moment the user confirmed. logsAsText() renders them for a bug report.
  • VisualFeedbackLogRecorder to start recording before runApp, with a time window, an entry cap, and optional capture of FlutterError and debugPrint output.
  • Depends only on Flutter and logging.
0
likes
160
points
36
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Let users annotate a live screenshot of your Flutter app with pencil, shapes, arrows and text, then get the PNG plus recent logs for bug reports.

Repository (GitHub)
View/report issues
Contributing

Topics

#feedback #screenshot #annotation #bug-report #drawing

License

MIT (license)

Dependencies

flutter, logging

More

Packages that depend on visual_feedback