widget_driver_generator 0.4.0 copy "widget_driver_generator: ^0.4.0" to clipboard
widget_driver_generator: ^0.4.0 copied to clipboard

This package provides generators for WidgetDriver to automate the creation of your TestDrivers and WidgetDriverProviders

CHANGELOG #

0.4.0 #

  • Updates the README.
  • Specified minimum versions to some pubspec dependencies.

0.3.0 #

  • Updates generator to be compatible with latest api changes in version 0.2.0 of widget_driver.

0.2.0 #

  • Changes the name of the generated method for driver provided properties. It used to be updateDriverProvidedProperties, now it is called didUpdateProvidedProperties to fit better with the name of the method which is called when a build context dependency triggers the driver to update.

0.1.0 #

  • Changes the generated code for provided properties to use implements and abstract class instead of mixins.
  • Fixes the issue where the version number of the generator in the generated file was wrong.

0.0.6 #

  • Adds generating of _$DriverProvidedPropertiesMixin which fixes ignoring of state issues

0.0.5 #

  • Adds coverage:ignore-file to generated files to make the code coverage tool ignore these.

0.0.4 #

  • Uses the new @driverProvidableProperty annotation in the widget_driver_annotation package to generate code in the DriverProvider, to pass data from the widget to the driver.
  • Refactors the generator classes for more readable and decoupled code.

0.0.3 #

  • Updates generator to be compatible with new annotations in the widget_driver_annotation package.
  • Refactors generator code to be more testable and decoupled.
  • Adds unit tests for code generation.
  • Updates README and Example/README to reflect new changes to annotations.

0.0.2 #

  • Adds example markdown file for pub.dev to give basic information about how to use the widget_driver_generator.

0.0.1 #

  • Initial release.
  • Adds possibility to generate code for TestDrivers and WidgetProviders.
2
likes
140
pub points
38%
popularity

Publisher

verified publisherbmwtech.dev

This package provides generators for WidgetDriver to automate the creation of your TestDrivers and WidgetDriverProviders

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, source_gen, widget_driver_annotation

More

Packages that depend on widget_driver_generator