autoverpod 0.0.5
autoverpod: ^0.0.5 copied to clipboard
Annotations for Riverpod widgets to simplify code generation and automate widget creation.
example/main.dart
// Example of using autoverpod package
// Example of using the annotations
void main() {
print('Autoverpod Example');
// The annotations are meant to be used with code generators
// Here's how you would use them in your code:
// @formWidget
// @riverpod
// class UserForm { ... }
// @stateWidget
// @riverpod
// class UserProfile { ... }
print('See the comments for usage examples');
}
// In a real application, you would use these annotations with Flutter widgets
// and a code generator would process them to create the necessary boilerplate code.