mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-06-01 17:15:48 +08:00
feat(selection): update clear method and improve selection action bar visibility
This commit is contained in:
@@ -24,9 +24,11 @@ void main() {
|
||||
expect(controller.selectedIds, {'b', 'c', 'd'});
|
||||
});
|
||||
|
||||
test('selectAll and prune keep only visible ids', () {
|
||||
test('prune keeps only visible ids', () {
|
||||
final controller = MultiSelectController();
|
||||
|
||||
controller.selectOnly('b');
|
||||
controller.selectRange(['a', 'b', 'c', 'd'], 'c');
|
||||
controller.prune(['b', 'c', 'd']);
|
||||
|
||||
expect(controller.isSelectionMode, isTrue);
|
||||
|
||||
Reference in New Issue
Block a user