-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
According to the documentation, setting onSort to null on a DataColumn disables sorting for this column.
The implementation has a bug there:
onSort is passed with onSort: () => column.onSort(...) to the _buildHeadingCell method. Within _buildHeadingCell it is checked for null but it never can be.
So clicking a headinig cell leads to a "The method 'call' was called on null." error.
Am I missing something or is this a bug?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.