CustomObjDropdown constructor

const CustomObjDropdown({
  1. Key? key,
  2. required String hintText,
  3. required List<Map<String, dynamic>> optionList,
  4. required String objKey,
  5. required IconData icon,
  6. Color? iconColor = CustomLightTheme.primaryColor,
  7. Color? backgroundColor = Colors.white,
  8. Color? textColor = Colors.black54,
  9. required MapCallback? action,
  10. required double width,
  11. bool? hasTrailing = false,
})

Implementation

const CustomObjDropdown(
    {Key? key,
    required this.hintText,
    required this.optionList,
    required this.objKey,
    required this.icon,
    this.iconColor = CustomLightTheme.primaryColor,
    this.backgroundColor = Colors.white,
    this.textColor = Colors.black54,
    required this.action,
    required this.width,
    this.hasTrailing = false})
    : super(key: key);