build method

AppBar? build(
  1. BuildContext context
)

Returns an AppBar based on the value of isSearching

Implementation

AppBar? build(BuildContext context) {
  return isSearching.value ? buildSearchBar(context) : buildAppBar(context);
}