window_paint 0.1.0-nullsafety.1 copy "window_paint: ^0.1.0-nullsafety.1" to clipboard
window_paint: ^0.1.0-nullsafety.1 copied to clipboard

outdated

WindowPaint lets you pan, zoom and paint over any other widget. It uses the new InteractiveViewer together with a CustomPainter, giving you the bare minimum to get you started.

0.1.0-nullsafety.1 Jan 12, 2021 #

  • Replaced the example's picture with a solid color.
  • Added explanation of the package's name in the README.
  • Added DrawTextAdapter and DrawText to the example project.
  • DrawObjectAdapter.start returns FutureOr<DrawObject?>? to support async operations, i.e. showing a dialog for text input.
  • DrawObjectAdapter.start accepts a BuildContext and the current transformation Matrix4.

0.1.0-nullsafety.0 Jan 12, 2021 #

  • Solves an issue with how InteractiveViewer.onInteractionUpdate on the beta channel behaves. This change is both backward and forward compatible.
  • Added static analysis with the pedantic 1.9.0 ruleset.
  • Migrated to sound null-safety.
  • Controllers now use the ValueNotifier pattern from TextEditingController instead of the mixin way of AnimationController.
  • Controllers now also have Restorable equivalents, i.e. how TextEditingController has RestorableTextEditingController.
  • CustomRadio has been moved to the example project.
  • The example project's WindowPaintControl now has a more clear icon for the "rectangle with cross" paint mode.
  • Files are organized in a more consumer-friendly fashion, with a lib/src folder and a lib/window_paint.dart file which exports all the necessary library files.

0.0.1 Jan 11, 2021 #

  • Initial release.
14
likes
0
points
36
downloads

Publisher

verified publisherlinden.no

Weekly Downloads

WindowPaint lets you pan, zoom and paint over any other widget. It uses the new InteractiveViewer together with a CustomPainter, giving you the bare minimum to get you started.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on window_paint