widget_driver_generator 0.2.0 widget_driver_generator: ^0.2.0 copied to clipboard
This package provides generators for WidgetDriver to automate the creation of your TestDrivers and WidgetDriverProviders
CHANGELOG #
0.2.0 #
- Changes the name of the generated method for driver provided properties. It used to be
updateDriverProvidedProperties
, now it is calleddidUpdateProvidedProperties
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 theDriverProvider
, 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
andWidgetProviders
.