FitDialog constructor

const FitDialog({
  1. Key? key,
  2. String? title,
  3. void onConfirm()?,
  4. required Widget child,
  5. double? height,
  6. String confirmLabel = "Ok",
})

Creates a new FitDialog.

Implementation

const FitDialog(
    {super.key,
    this.title,
    this.onConfirm,
    required this.child,
    this.height,
    this.confirmLabel = "Ok"});