Some checks failed
continuous-integration/drone/push Build is failing
- wyatt_analysis@2.4.0
Dart - Component Copy With Gen
A Dart package for generating code from annotations to ease the use of a UIKit in Flutter applications. The generated code is based on the annotation classes present in the 'wyatt_component_copy_with_extension' package.
Features
- Supports the generation of abstract proxies in the
wyatt_ui_components
package. - Supports direct use in Flutter applications.
Usage
In the 'wyatt_ui_components' package
- Add the appropriate annotation when addicdng a new component.
- Run the build runner command to generate the proxy.
In Flutter applications
- Add the following dependencies to your pubspec.yaml:
dependencies:
...
wyatt_component_copy_with_extension: ^0.0.1
dev_dependencies:
...
wyatt_component_copy_with_gen: ^0.0.1
build_runner: ^2.3.3
- In your UIKit, extend the desired component class and add the appropriate annotation.
- Run the code generation command via the build runner.
For further details and additional features on class annotation, see the 'wyatt_component_copy_with_extension' package's README.