TODO:this is used for to search in list with dropdown like functionality with hover effect.

Features

TODO: can serach in list with overlay effect.

Getting started

TODO: List prerequisites and provide or point to information on how to start using the package.

Usage

TODO: expalin code in example folder


class Example extends StatefulWidget {
  const Example({super.key});

  @override
  State<Example> createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  String unitModel = "";
  List unitList = [];
  @override
  Widget build(BuildContext context) {
    return  CustomDropdownFormField(

      hintText: "Select Unit",
      childWidget: unitList.map((item) {
        return StatefulBuilder(
            builder: (context, setState) {
              WidgetsBinding.instance.addPostFrameCallback((_) => setState(() {}));
              setState(() {});
              return Text(
                "${item.unitName}",
              );
            }
        );
      }).toList(),
      items: unitList,
      value: unitModel == null ? "" : "${unitModel!}",
      onSelected: (value){
        unitModel = value!;
        setState(() {});
        return "${unitModel}";
      }, onChanged: (String? value ) {  }, loadingValue: false,
    );
  }
}

Additional information

TODO: if you need any help you can mail me at ravtole62@gmail.com

Libraries

searable_dropodown