widget_driver_annotation 0.0.2
widget_driver_annotation: ^0.0.2 copied to clipboard
Defines the annotations used by widget_driver and widget_driver_generator to create code for your WidgetDrivers
example/README.md
WidgetDriver annotation usage #
@DriverProperty(1)
int get value => _counterService.value;
@DriverAction()
void increment() {
_counterService.increment();
}
See the documentation for widget_driver to understand how these annotations work and how you can configure and use them.