FSuggestDropDown constructor

const FSuggestDropDown({
  1. Key? key,
  2. required TextEditingController controller,
  3. required String title,
  4. bool enabled = true,
  5. Color? selectedColor,
  6. double borderRadius = 10,
  7. required List<String> suggests,
  8. TextStyle titleStyle = const TextStyle(overflow: TextOverflow.ellipsis),
  9. TextStyle textStyle = const TextStyle(overflow: TextOverflow.ellipsis),
  10. TextStyle hintStyle = const TextStyle(overflow: TextOverflow.ellipsis),
  11. Color fillColor = Colors.white70,
  12. InputBorder? enabledBorder = const OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(10)), borderSide: BorderSide(color: Color(0xFF646464), width: 0.5)),
  13. Widget? suffixIcon,
  14. bool readOnly = false,
})

Implementation

const FSuggestDropDown(
    {super.key,
    required this.controller,
    required this.title,
    this.enabled = true,
    this.selectedColor,
    this.borderRadius = 10,
    required this.suggests,
    this.titleStyle = const TextStyle(overflow: TextOverflow.ellipsis),
    this.textStyle = const TextStyle(overflow: TextOverflow.ellipsis),
    this.hintStyle = const TextStyle(overflow: TextOverflow.ellipsis),
    this.fillColor = Colors.white70,
    this.enabledBorder = const OutlineInputBorder(
        borderRadius: BorderRadius.all(Radius.circular(10)),
        borderSide: BorderSide(color: Color(0xFF646464), width: 0.5)),
    this.suffixIcon,
    this.readOnly = false});