PhoenixDropdown<T> constructor
const
PhoenixDropdown<T> ({
- Key? key,
- bool isError = false,
- String? errorMessage,
- String? label,
- Widget? suffixIcon,
- VoidCallback? onTap,
- required T value,
- required List<
DropdownMenuItem< items,T> > - dynamic onChanged(
- T?
- 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);