WIP: Multiple same type component usage #201
| @ -17,12 +17,18 @@ | ||||
| import 'package:build/build.dart'; | ||||
| import 'package:source_gen/source_gen.dart'; | ||||
| import 'package:wyatt_component_copy_with_gen/src/generators/component_copy_with_generator.dart'; | ||||
| import 'package:wyatt_component_copy_with_gen/src/generators/component_multi_proxy_generator.dart'; | ||||
| import 'package:wyatt_component_copy_with_gen/src/generators/component_proxy_generator.dart'; | ||||
| 
 | ||||
| Builder componentCopyWithReporter(BuilderOptions options) => SharedPartBuilder( | ||||
| Builder componentCopyWithProxyReporter(BuilderOptions options) => PartBuilder( | ||||
|       [ | ||||
|         ComponentProxyGenerator(), | ||||
|         ComponentCopyWithGenerator(), | ||||
|         ComponentMultiProxyGenerator(), | ||||
|       ], | ||||
|       'component_copy_with', | ||||
|       '.interface.g.dart', | ||||
|     ); | ||||
| 
 | ||||
| Builder componentCopyWithReporter(BuilderOptions options) => PartBuilder( | ||||
|       [ComponentCopyWithGenerator()], | ||||
|       '.impl.g.dart', | ||||
|     ); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user