You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
Describe the bug
updating @swidget to @cwidget to generate a ConsumerWidget instead of StatelessWidget.
The build_runner is not generating for me for some reason. It's still StatelessWidget. Try to delete the g.dart file still getting the same StatelessWidget.
flutter_riverpod: ^0.14.0+3 functional_widget_annotation: ^0.9.0 functional_widget: ^0.9.0+1
in my local. Not sure what am I missing
Describe the bug
updating
@swidgetto@cwidgetto generate a ConsumerWidget instead of StatelessWidget.The build_runner is not generating for me for some reason. It's still StatelessWidget. Try to delete the
g.dartfile still getting the same StatelessWidget.flutter_riverpod: ^0.14.0+3functional_widget_annotation: ^0.9.0functional_widget: ^0.9.0+1in my local. Not sure what am I missing
To Reproduce
part 'test_widget.g.dart';
@cwidget
Widget testWidget(BuildContext context) {
return Container()
}
Expected behavior
A clear and concise description of what you expected to happen.