backWidget method

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

go back widget

Implementation

Widget backWidget({VoidCallback? onPressed}) {
  return GestureDetector(
    onTap: onPressed ?? () {
      Navigator.pop(context);
    },
    child: ImageEditor.uiDelegate.buildBackWidget(),
  );
}