getBackColorOfItem_Card method

Color? getBackColorOfItem_Card(
  1. Object? item
)
inherited

Implementation

Color? getBackColorOfItem_Card(Object? item) {
  if (widget.item_BackgroundColor != null)
    return widget.item_BackgroundColor!(item as T);
  else if (item is XEnumDef) {
    if (widget.item_BackgroundColor != null) {
      return widget.item_BackgroundColor!(item as T);
    } else {
      return item.backColor;
    }
  } else
    return null;
}