SearchFieldBuilder typedef

SearchFieldBuilder = Widget Function(SearchFieldComponentData data)

This typedef defines a method that returns a Widget where a user can enter text.

Used by SearchFieldComponent as SearchFieldComponent.builder.

Example

SearchFieldComponent(
  builder: (SearchFieldComponentData data)
  {
    return TextField(
      controller = data.searchTextController,
    );
  }
);

See Also:

Implementation

typedef SearchFieldBuilder = Widget Function(SearchFieldComponentData data);