chow_search_bar 0.0.2 copy "chow_search_bar: ^0.0.2" to clipboard
chow_search_bar: ^0.0.2 copied to clipboard

A Beautiful and Simple SearchBar widget for android, ios and web. It can be fully customized with label, labelStyle, searchBar Decoration, etc. It also maintains onChange and onHover state.

Chow Design Search Bar #

Version Conventional Commits

Chow Design System Search Par

Usage #

import 'package:chow_search_bar/chow_search_bar.dart';

class ChowApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return Scaffold(
    appBar: AppBar(
    title: const Text('Chow Search Bar'),
    bottom: PreferredSize(
    preferredSize: const Size.fromHeight(50),
    child: ChowSearchField(
    backgroundColor: Theme.of(context).colorScheme.background,
    hinText: 'Search chow...',
    trailingTap: () {},
    active: true,
    onChanged: (value) {
    setState(() {
    text = value;
    });
    },
    onSubmit: (value) {
    setState(() {
    text = value;
    });
    },
    )))
    );
      
  }
}

FAQs #

What is this? #

This package gives you access to the Touchableopacity widget. This Package uses the Inkwell to allow interaction and animated to opacity of the widget on touch events.

1
likes
120
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

A Beautiful and Simple SearchBar widget for android, ios and web. It can be fully customized with label, labelStyle, searchBar Decoration, etc. It also maintains onChange and onHover state.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

chow_touchables, chowicons, flutter

More

Packages that depend on chow_search_bar