redo method

void redo()

recuperar

Implementation

void redo() {
//    print(_redoList);
  if (_redoList.isNotEmpty) {
    _textEditingController.value = TextEditingValue(
      text: _redoList.last.text,
      selection: TextSelection(
          extentOffset: _redoList.last.position,
          baseOffset: _redoList.last.position),
    );
    _undoList.add(_redoList.last);
    _redoList.removeLast();
  }
}