Unverified Commit e66a5cf5 authored by Darren Austin's avatar Darren Austin Committed by GitHub

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

parent 2163731c
...@@ -909,9 +909,6 @@ class ScrollIntent extends Intent { ...@@ -909,9 +909,6 @@ class ScrollIntent extends Intent {
/// size of the scroll window, and for [ScrollIncrementType.line], 50 logical /// size of the scroll window, and for [ScrollIncrementType.line], 50 logical
/// pixels. /// pixels.
class ScrollAction extends Action<ScrollIntent> { class ScrollAction extends Action<ScrollIntent> {
/// The [LocalKey] that uniquely connects this action to a [ScrollIntent].
static const LocalKey key = ValueKey<Type>(ScrollAction);
@override @override
bool isEnabled(ScrollIntent intent) { bool isEnabled(ScrollIntent intent) {
final FocusNode focus = primaryFocus; final FocusNode focus = primaryFocus;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment