INNER CODE UNIT · Dart
FunctionalWidget
rrousselGit/functional_widget · packages/functional_widget_annotation/lib/functional_widget_annotation.dart:37
class FunctionalWidget {
const FunctionalWidget({
this.widgetType = FunctionalWidgetType.stateless,
this.debugFillProperties,
this.name,
});
/// Configures which types of widget is generated.
///
/// Defaults to [FunctionalWidgetType.stateless].
final FunctionalWidgetType widgetType;
/// Defines if the generated widget should emit diagnostics informations.
final bool? debugFillProperties;
/// Defines the name of the generated widget.
///
/// By default, uses the function name, such that: