Skip to content

[State Restoration] DataTable selected index/counts #70916

@shihaohong

Description

@shihaohong

DataTable's selected rows and selected row counts are not state restorable.

This was discovered migrating the Flutter Gallery's DataTable demo.

Reproduction:

  1. Create any data table (Build flutter/gallery, go to the DataTable demo).
  2. Select/unselect any number of items on the table
  3. Kill the activity on Android, notice that the selected item state is not restored.

Metadata

Metadata

Assignees

Labels

a: state restorationRestorationManager and related APIscustomer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.f: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions