PhoenixDropdown<T> constructor

const PhoenixDropdown<T>({
  1. Key? key,
  2. bool isError = false,
  3. String? errorMessage,
  4. String? label,
  5. Widget? suffixIcon,
  6. VoidCallback? onTap,
  7. required T value,
  8. required List<DropdownMenuItem<T>> items,
  9. dynamic onChanged(
    1. T?
    )?,
  10. TextStyle? errorTextStyle,
})

Implementation

const PhoenixDropdown({
  Key? key,
  this.isError = false,
  this.errorMessage,
  this.label,
  this.suffixIcon,
  this.onTap,
  required this.value,
  required this.items,
  this.onChanged,
  this.errorTextStyle,
}) : super(key: key);