Create flutter_driver key finders using parameterized ValueKey types (#7749)
The finder will only match the widget's ValueKey if both have identical runtime types
This commit is contained in:
@@ -92,6 +92,7 @@ class ComplexLayoutState extends State<ComplexLayout> {
|
||||
children: <Widget>[
|
||||
new Expanded(
|
||||
child: new LazyBlock(
|
||||
key: new Key('main-scroll'),
|
||||
delegate: new FancyItemDelegate(),
|
||||
)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user