unDoWidget method

Widget unDoWidget({
  1. VoidCallback? onPressed,
})

undo action

Implementation

Widget unDoWidget({VoidCallback? onPressed}) {
  return GestureDetector(
    onTap: onPressed,
    child: ImageEditor.uiDelegate.buildUndoWidget(),
  );
}