CustomObjDropdown constructor
const
CustomObjDropdown({
- Key? key,
- required String hintText,
- required List<
Map< optionList,String, dynamic> > - required String objKey,
- required IconData icon,
- Color? iconColor = CustomLightTheme.primaryColor,
- Color? backgroundColor = Colors.white,
- Color? textColor = Colors.black54,
- required MapCallback? action,
- required double width,
- 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);