MyDropdown<T> constructor
const
MyDropdown<T> ({
- Key? key,
- required PopupMenuItemBuilder<
T> itemBuilder, - T? initialValue,
- PopupMenuItemSelected<
T> ? onSelected, - PopupMenuCanceled? onCanceled,
- Color? colorText,
- Color? colorBackground,
- required Widget child,
Implementation
const MyDropdown({
Key? key,
required this.itemBuilder,
this.initialValue,
this.onSelected,
this.onCanceled,
this.colorText,
this.colorBackground,
required this.child,
}) : super(key: key);