get method
Implementation
@override
Object? get(Token name) {
switch (name.lexeme) {
case "pixels":
return position.pixels;
case "minScrollExtent":
return position.minScrollExtent;
case "maxScrollExtent":
return position.maxScrollExtent;
case "outOfRange":
return position.outOfRange;
case "context":
return position.context;
case "jumpTo":
return position.jumpTo;
case 'userScrollDirection':
return position.userScrollDirection;
}
return null;
}