wyatt-packages/packages/wyatt_component_copy_with_gen
Malo Léon 5a7b8bf958
All checks were successful
continuous-integration/drone/pr Build is passing
chore(release): publish packages
- wyatt_ui_components@0.3.0+1
 - wyatt_bloc_layout@0.1.2+1
 - wyatt_ui_layout@0.1.2+1
 - wyatt_ui_kit@3.2.1
2023-08-28 17:20:38 +02:00
..
2023-08-28 17:20:38 +02:00
2023-04-26 18:12:10 +02:00
2023-04-13 23:29:26 +02:00
2023-04-26 18:12:10 +02:00
2023-08-28 15:30:17 +02:00

Component Copy With Gen

Style: Wyatt Analysis SDK: Dart & Flutter

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

This package does not contain Flutter specific code, but there is no sense in using it without Flutter.

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 adding a new component.
  • Run the build runner command to generate the proxy.

In Flutter applications (or UI Kit implementations)

  • 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.