ScreenRecorder constructor

ScreenRecorder({
  1. Key? key,
  2. required Widget child,
  3. required ScreenRecorderController controller,
  4. required double width,
  5. required double height,
  6. Color background = Colors.white,
})

Implementation

ScreenRecorder({
  Key? key,
  required this.child,
  required this.controller,
  required this.width,
  required this.height,
  this.background = Colors.white,
})  : assert(background.alpha == 255,
          'background color is not allowed to be transparent'),
      super(key: key);