widget_driver_annotation library

Classes

GenerateTestDriver
Use this annotation on your WidgetDriver to generate the code for the TestDriver and the DriverProvider.
TestDriverDefaultFutureValue<T>
Use this annotation on properties/methods which return Futures in your Driver to generate the hardcoded default test values which will be used by the TestDriver. Your DrivableWidget will then use these values from the TestDriver when it is created during testing.
TestDriverDefaultValue<T>
Use this annotation on properties/methods in your Driver to generate the hardcoded default test values which will be used by the TestDriver. Your DrivableWidget will then use these values from the TestDriver when it is created during testing.

Constants

driverProvidableProperty → const _DriverProvidableProperty
Use this annotation on constructor params, which should be able to be passed from the DrivableWidget to the Driver. This is intended for model data and not repositories or other service/use-case types of objects.