appbar_textfield 1.0.1+1 copy "appbar_textfield: ^1.0.1+1" to clipboard
appbar_textfield: ^1.0.1+1 copied to clipboard

A flutter AppBar widget with a switchable textfield mainly used for search

AppBarTextFied() #

A fully customisable Flutter AppBar widget with a switchable TextField mainly aiming for use as a search bar.

Built out of the frustration with limitations amd performance of similar widgets. This widget aims to be completely customisable and performant. Both the AppBar and TextField are fully customizable.

The customisable search icon switches the AppBar to a TextField using a reveal animation. The widget directly exposes the TextField onChanged callback to allow a developer more flexibility in their application.

There is no opinionated search built in. You may use whatever state management you like. The example contains a basic search example.

alt-text

appBar: AppBarTextfield(
    title: Text("Contacts"),
    onBackPressed: _onRestoreAllData,
    onClearPressed: _onRestoreAllData,
    onChanged: _onSearchChanged,
),

Dependencies Using circular_reveal_animation from flutter pub https://pub.dev/packages/circular_reveal_animation

Example Dependencies faker: ^1.2.1

35
likes
40
pub points
59%
popularity

Publisher

verified publisherelgansayer.co.uk

A flutter AppBar widget with a switchable textfield mainly used for search

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

circular_reveal_animation, flutter

More

Packages that depend on appbar_textfield