visit method

  1. @override
ConstructorCall visit(
  1. covariant OutlinedButton widget
)
override

Implementation

@override
ConstructorCall visit(OutlinedButton widget) {
  return ConstructorCall(
    'OutlinedButton',
    NotNullMap.from({
      'onPressed': DataSourceEncoder.voidHandler(widget.onPressed),
      'onLongPress': DataSourceEncoder.voidHandler(widget.onLongPress),
      'autofocus': widget.autofocus,
      'clipBehavior': ArgumentEncoders.enumValue(widget.clipBehavior),
      'child': ArgumentEncoders.widget(widget.child),
    }),
  );
}