feat(gen): update builders and build extensions
This commit is contained in:
		
							parent
							
								
									e231f14162
								
							
						
					
					
						commit
						34b72179c8
					
				| @ -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