app_bar_with_search_switch 1.8.5 copy "app_bar_with_search_switch: ^1.8.5" to clipboard
app_bar_with_search_switch: ^1.8.5 copied to clipboard

An extension for AppBar which can switch it into search field.

Changelog #

1.8.5 #

  • Fixed: TextField.autofocus in SearchBar sometimes didn't worked(when switching with keyboard)

1.8.2 #

  • [AppBarWithSearchSwitch].keepAppBarColors will not affect Material 3 Theme, it was used to autodetect default colors for Material 2, but in Material 3 it only bring confusions...
  • [AppBarWithSearchSwitch].theme - Since you can't just wrap [AppBarWithSearchSwitch] with [Theme] widget - this parameter will make it for you.

1.7.0 #

  • fix for material3: use ThemeData.useMaterial3 to detect input field text color.

1.6.2 #

  • [AppBarWithSearchSwitch].titleTextStyle now also applied to default TextField (in search mode),
  • update documentation.

1.5.4 #

  • new parameter: [AppBarAnimationSlideLeft].background.

1.5.3 #

  • update documentation.

1.5.2 #

  • update documentation, minor changes,
  • a new tear-off constructors: [AppBarAnimationSlideLeft].call, [AppBarAnimationSlideDown].call,
  • required Dart Sdk >= 2.15.0 (for factory constructor tear-off).

1.5.1 #

  • changes in AppBarAnimationSlideDown and AppBarAnimationSlideLeft: new parameters switchInCurve and switchOutCurve

1.5.0 #

  • added AppBarWithSearchSwitch.animation parameter, which can be used for any custom animation, also there are two ready to use animations: [AppBarAnimationSlideLeft], [AppBarAnimationSlideDown].

1.4.0 #

  • fix for dark theme: use theme.appBarTheme colors by default and fallback to theme.canvasColor (which was used before)

1.3.9 #

  • minor cleanup

1.3.8 #

  • minor cleanup

1.3.7 #

  • minor: tests were cleaned from deprecated code

1.3.6 #

  • remove support for old flutter versions
  • update README

1.3.5 #

  • this is special release with support for old flutter versions, tested with 2.10.0,
  • use this version if you want to use old flutter sdk

1.3.4 #

  • update README

1.3.3 #

  • by default: selectionHandleColor uses theme.splashColor

1.3.2 #

  • textNotifier is now can change state of AppBarWithSearchSwitch
  • update FAQ: How to make android back button close search?

1.3.1 #

  • isActive renamed to isSearchMode (old name supported, but marked as deprecated),
  • fix: return global default Notifiers, and controller,
  • new parameter submitOnClearTwice

1.3.0 #

  • added AppBarWithSearchFinder - a class for accessing AppBarWithSearchSwitch everywhere in Scaffold
  • added helpers: AppBarOnEditListener and AppBarOnSubmitListener (just simple wrappers for ValueListenableBuilder)
  • update documentation

1.2.4 #

  • remove speech_to_text dependency (it will be reintroduced lately, in version 2)

1.2.3 #

1.2.2 #

Added options:

  • searchInputDecoration,
  • searchActiveButtonColor,

1.2.1 #

  • added example directory,
  • added hasText Notifier,
  • updated documentation

1.2.0 #

  • added AppBarSearchButton

1.1.2+1 #

  • update documentation

1.1.1+1 #

  • update documentation

1.1.0+1 #

  • added support for custom icons,
  • property keepAppBarColors finished,
  • added few other properties.

1.0.0+1 #

  • Initial release.
46
likes
140
pub points
87%
popularity

Publisher

unverified uploader

An extension for AppBar which can switch it into search field.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on app_bar_with_search_switch