handleDataGridSourceChanges method Null safety

  1. @override
void handleDataGridSourceChanges()
override

Called when the selection is programmatically changed using SfDataGrid.controller.

Implementation

@override
void handleDataGridSourceChanges() {
  final DataGridConfiguration dataGridConfiguration =
      _dataGridStateDetails!();
  _clearSelectedRows(dataGridConfiguration);
}