NiceDropDownBox<T> constructor
const
NiceDropDownBox<T>({ - Key? key,
- required Widget contentBuilder(
- BuildContext context,
- VoidCallback close
),
- T? value,
- String displayBuilder(
- T value
)?,
- String? label,
- String? hint,
- String? errorText,
- bool enabled = true,
- double? dropdownWidth,
- double dropdownHeight = 300,
})
Implementation
const NiceDropDownBox({
super.key,
required this.contentBuilder,
this.value,
this.displayBuilder,
this.label,
this.hint,
this.errorText,
this.enabled = true,
this.dropdownWidth,
this.dropdownHeight = 300,
});