CustomDialog constructor

const CustomDialog({
  1. Key? key,
  2. required Widget child,
  3. double? height,
  4. double? width,
})

Creates a CustomDialog with the given child, and optional height and width.

The child parameter must not be null.

Implementation

const CustomDialog({Key? key, required this.child, this.height, this.width})
    : super(key: key);