Preview constructor

Preview({
  1. Key? key,
  2. required PreviewController controller,
})

Construct a Preview.

Implementation

Preview({Key? key, required this.controller})
    : super(key: key, instance: controller);