TakeScreenShot constructor

TakeScreenShot({
  1. required Widget child,
  2. required TakeScreenShotController controller,
})

Helps to take screenshot of all descendant ScreenShotWidgets.

Implementation

TakeScreenShot({required Widget child, required this.controller}) : super(child: child, key: UniqueKey()) {
	controller.screenshotControllers = _screenshotControllers;
}