DropdownInput constructor
const
DropdownInput({
- Key? key,
- Widget? title,
- EdgeInsetsGeometry? childrenPadding = const EdgeInsets.all(10),
- EdgeInsetsGeometry? childrenMargin = const EdgeInsets.all(10),
- BoxDecoration? childrenBoxDecoration,
- double maxHeight = 100.0,
- double itemHeight = 50.0,
- required OnSelected onItemSelected,
- double inputWidth = 150,
- String hintText = "Search",
- TextAlign? textAlign,
- ValueChanged<
String> ? onChanged, - InputDecoration? inputDecoration,
- required TextEditingController textController,
- required List<
Map< optionsList,String, dynamic> > - required WidgetBuilder itemWidget,
Implementation
const DropdownInput(
{super.key,
this.title,
this.childrenPadding = const EdgeInsets.all(10),
this.childrenMargin = const EdgeInsets.all(10),
this.childrenBoxDecoration,
this.maxHeight = 100.0,
this.itemHeight = 50.0,
required this.onItemSelected,
this.inputWidth = 150,
this.hintText = "Search",
this.textAlign,
this.onChanged,
this.inputDecoration,
required this.textController,
required this.optionsList,
required this.itemWidget});