createGlobalKey static method
create a custom globalkey , use this way to avoid type exception in dart2 .
Implementation
static GlobalKey<_RectGetterState> createGlobalKey() {
return new GlobalKey<_RectGetterState>();
}
create a custom globalkey , use this way to avoid type exception in dart2 .
static GlobalKey<_RectGetterState> createGlobalKey() {
return new GlobalKey<_RectGetterState>();
}