mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
fix spelling typo (#120062)
* fix spelling typo * _index not nullable This address the comment here: https://github.com/flutter/flutter/pull/120062#issuecomment-1421424676
This commit is contained in:
parent
aa29358c5e
commit
dad9eb21f9
@ -5385,8 +5385,8 @@ class _UndoStack<T> {
|
||||
|
||||
final List<T> _list = <T>[];
|
||||
|
||||
// The index of the current value, or null if the list is emtpy.
|
||||
late int _index;
|
||||
// The index of the current value, or -1 if the list is empty.
|
||||
int _index = -1;
|
||||
|
||||
/// Returns the current value of the stack.
|
||||
T? get currentValue => _list.isEmpty ? null : _list[_index];
|
||||
|
Loading…
Reference in New Issue
Block a user