functional_widget_annotation 0.0.3 functional_widget_annotation: ^0.0.3 copied to clipboard
Annotations for function_widget_generator used to generate widget classes from a function
example/functional_widget_annotation.dart
import 'package:functional_widget_annotation/functional_widget_annotation.dart';
import 'package:flutter/widgets.dart';
@widget
Widget foo() {
return Text("Hello World");
}