FDropdownMenu<T> constructor

const FDropdownMenu<T>({
  1. Key? key,
  2. required List<FDropdownEntry<T>> entries,
  3. FTextStyle? entryTextStyle,
  4. FColorI? menuBackgroundColor,
  5. String? hintText,
  6. FTextStyle? hintStyle,
  7. String? labelText,
  8. FTextStyle? labelStyle,
  9. T? initialSelection,
  10. required void onSelected(
    1. dynamic value
    )?,
  11. bool enabled = true,
  12. TextEditingController? controller,
  13. FColorI fSelectColor = FColor.lightPrimaryPurple,
  14. FColorI fFillColor = FColor.noColor,
  15. FColorI fFillDisabledColor = FColor.lightPaleGray,
  16. FColorI fDisabledBorderColor = FColor.lightMidGray,
  17. FTextStyle? disabledStyle,
  18. String? validator(
    1. dynamic value
    )?,
  19. bool isMandatory = false,
  20. FTextStyle? mandatoryStyle,
  21. FTextStyle? mandatoryStyleDisabled,
})

Implementation

const FDropdownMenu({
  Key? key,
  required this.entries,
  this.entryTextStyle,
  this.menuBackgroundColor,
  this.hintText,
  this.hintStyle,
  this.labelText,
  this.labelStyle,
  this.initialSelection,
  required this.onSelected,
  this.enabled = true,
  this.controller,
  this.fSelectColor = FColor.lightPrimaryPurple,
  this.fFillColor = FColor.noColor,
  this.fFillDisabledColor = FColor.lightPaleGray,
  this.fDisabledBorderColor = FColor.lightMidGray,
  this.disabledStyle,
  this.validator,
  this.isMandatory = false,
  this.mandatoryStyle,
  this.mandatoryStyleDisabled,
}) : super(key: key);