Removed an unused static local key from ScrollAction. (#59436)

This commit is contained in:
Darren Austin 2020-06-16 09:25:10 -07:00 committed by GitHub
parent 2163731c99
commit e66a5cf55d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -909,9 +909,6 @@ class ScrollIntent extends Intent {
/// size of the scroll window, and for [ScrollIncrementType.line], 50 logical
/// pixels.
class ScrollAction extends Action<ScrollIntent> {
/// The [LocalKey] that uniquely connects this action to a [ScrollIntent].
static const LocalKey key = ValueKey<Type>(ScrollAction);
@override
bool isEnabled(ScrollIntent intent) {
final FocusNode focus = primaryFocus;