PlutoRow constructor

PlutoRow({
  1. required Map<String, PlutoCell> cells,
  2. PlutoRowType? type,
  3. int sortIdx = 0,
  4. bool checked = false,
  5. Key? key,
})

Implementation

PlutoRow({
  required this.cells,
  PlutoRowType? type,
  this.sortIdx = 0,
  bool checked = false,
  Key? key,
})  : type = type ?? PlutoRowTypeNormal.instance,
      _checked = checked,
      _state = PlutoRowState.none,
      _key = key ?? UniqueKey();