Skip to content

Commit 6ff1ff3

Browse files
committed
Fix expansion tile auto collapsing on resize.
1 parent 73c8848 commit 6ff1ff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/transformers/node_transformers/passive_expansion_tile_transformer.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class PassiveExpansionTileWidget extends StatelessWidget {
209209
node.properties.showDividers ? null : Colors.transparent,
210210
),
211211
child: ExpansionTile(
212-
key: ValueKey(node.properties.props),
212+
key: ValueKey(node.id),
213213
initiallyExpanded: node.properties.initiallyExpanded,
214214
maintainState: node.properties.maintainState,
215215
tilePadding: node.properties.tilePadding?.flutterEdgeInsets,

0 commit comments

Comments
 (0)