I\'m using Flutter. I have a simple app with 3 tabs. There is a RefreshIndicator in each tab with a ListView. The rows are built in another method. This is the code:
Same as @babernethy above, you can have
import 'package:flutter/widgets.dart';
class JosKeys {
static final josKeys1 = const Key('__JosKey1__');
static final josKeys2 = const Key('__JosKey2__');
}
then do this on one of your Global Keys, make sure to have a different JosKeys.josKeys{number} for each global key
GlobalKey _globalKey = JosKeys.josKeys1;