SmoothDropdownButton<T> constructor

const SmoothDropdownButton<T>({
  1. required T value,
  2. required List<SmoothDropdownItem<T>> items,
  3. ValueChanged<T?>? onChanged,
  4. AlignmentGeometry? textAlignment,
  5. bool loading = false,
  6. bool isExpanded = false,
  7. 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);