completeWith method

DataRow completeWith({
  1. LocalKey? key,
  2. ValueChanged<bool?>? onSelectChanged,
  3. MaterialStateProperty<Color?>? color,
})

Implementation

DataRow completeWith({
  LocalKey? key,
  ValueChanged<bool?>? onSelectChanged,
  MaterialStateProperty<Color?>? color,
}) {
  return DataRow(
    key: this.key ?? key,
    selected: selected,
    onSelectChanged: this.onSelectChanged ?? onSelectChanged,
    color: this.color ?? color,
    cells: cells,
  );
}