UndoButton constructor

const UndoButton({
  1. Key? key,
  2. Widget child = const Icon(Icons.undo),
})

Creates a UndoButton with the specified child.

Implementation

const UndoButton({
  super.key,
  this.child = const Icon(Icons.undo),
});