Flutter Select rows on DataTable with the control/shift key
It's typical behavior that the multiple rows can be selected by the control key or shift key on a Desktop application. How can we implement it in Flutter? Use KeyboardListener to detect the key event. Then, control the selection depending on whether the key is being pressed or not.