Cell constructor

Cell({
  1. Key? key,
  2. String? value,
  3. String? label,
  4. String? title,
  5. IconData? icon,
  6. String size = "normal",
  7. bool require = false,
  8. bool clickable = false,
  9. bool isLink = false,
  10. dynamic onClick()?,
  11. String arrowDirection = "right",
  12. Widget? customTitle,
  13. Widget? customLabel,
  14. Widget? customRight,
})

Implementation

Cell({
  Key? key,
  this.value,
  this.label,
  this.title,
  this.icon,
  this.size: "normal",
  this.require: false,
  this.clickable: false,
  this.isLink: false,
  this.onClick,
  this.arrowDirection: "right",
  this.customTitle,
  this.customLabel,
  this.customRight,
})  : assert(size == "normal" || size == "large",
          "size must be normal or large"),
      assert(["left", "right", "up", "down"].indexOf(arrowDirection) > -1,
          "arrowDirection must be left, right, up or down"),
      super(key: key);