0 purchases
drop down with search
This Custom drop down will have the Custom feature of drop down and search.
Features #
A custom drop with search on list .
Getting started #
This package supports null safety.Please use this package with flutter that supports null safety.
Usage #
DropDownWithSearch(
textController: myController,
inputItem: ["Mumbai", "Chennai", "Maharastra", "Karnataka"],
),
copied to clipboard
Example #
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Dropdown"),
),
body: Padding(
padding: EdgeInsets.symmetric(horizontal: 20),
child: DropDownWithSearch(
textController: myController,
inputItem: ["Mumbai", "Chennai", "Maharastra", "Karnataka"],
),
),
floatingActionButton: FloatingActionButton(
onPressed: _incrementCounter,
tooltip: 'Increment',
child: const Icon(Icons.add),
), // This trailing comma makes auto-formatting nicer for build methods.
);
}
copied to clipboard
Additional information #
Changes to the package is always accepted.Please send PR with changes.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.