Normally I put Key: ValueKey in a flutter element that I want to find in my test cases for testing, however this particular element already has a globalKey. So, what should I use to find the globalkey used in the element?
value key
key: ValueKey('nameField')
In test case =>
final nameField = find.byValueKey('nameField')
global key
final LabeledGlobalKey<FormFieldState<String>> _passwordField = LabeledGlobalKey<FormFieldState<String>>("passwordFieldKey")
key: _passwordField
In test case =>
final passwordField = find.???('???')