SmoothDropdownButton<T> constructor
- required T value,
- required List<
SmoothDropdownItem< items,T> > - ValueChanged<
T?> ? onChanged, - AlignmentGeometry? textAlignment,
- bool loading = false,
- bool isExpanded = false,
- Key? key,
Implementation
const SmoothDropdownButton({
required this.value,
required this.items,
this.onChanged,
this.textAlignment,
this.loading = false,
this.isExpanded = false,
super.key,
}) : assert(items.length > 0);