TakeScreenShot constructor
TakeScreenShot({
- required Widget child,
- 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;
}