FSuggestDropDown constructor
const
FSuggestDropDown({
- Key? key,
- required TextEditingController controller,
- required String title,
- bool enabled = true,
- Color? selectedColor,
- double borderRadius = 10,
- required List<
String> suggests, - TextStyle titleStyle = const TextStyle(overflow: TextOverflow.ellipsis),
- TextStyle textStyle = const TextStyle(overflow: TextOverflow.ellipsis),
- TextStyle hintStyle = const TextStyle(overflow: TextOverflow.ellipsis),
- Color fillColor = Colors.white70,
- InputBorder? enabledBorder = const OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(10)), borderSide: BorderSide(color: Color(0xFF646464), width: 0.5)),
- Widget? suffixIcon,
- 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});