Cell constructor

Cell({
  1. String content = '',
  2. UvStyle style = const UvStyle(),
  3. Link link = const Link(),
  4. Object? drawable,
  5. int? width,
})

Implementation

Cell({
  String content = '',
  UvStyle style = const UvStyle(),
  Link link = const Link(),
  this.drawable,
  int? width,
}) {
  _width = width ?? (content.isEmpty ? 0 : 1);
  _setContent(content);
  _setStyle(style);
  _setLink(link);
}