FastDropDown<T> constructor
const
FastDropDown<T> ({})
use this widget to create a dropdown
example:
FastDropDown(
items: const [1, 2, 3, 4],
hint: 'Selecione o numero',
itemBuilder: (v) {
return FastRow(
children: [
Icon(FastIcons.ant.profile),
Text(v.toString()),
],
);},
),
Implementation
const FastDropDown({
super.key,
this.hint,
this.value,
this.radius = 8,
this.onChanged,
this.validation,
this.clearButton,
this.showClearButton = true,
this.itemBuilder,
required this.items,
});