Chow Design Search Bar
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.