FastDialog constructor

const FastDialog({
  1. Key? key,
  2. required List<Widget> children,
  3. double maxWidth = 400,
  4. double radius = 12,
  5. String? title,
})

FastDialog is a widget that can be used to create a dialog with a custom width and radius.

maxWidth is the maximum width of the dialog.

radius is the radius of the dialog.

title is the title of the dialog.

children is the content of the dialog.

key is the key of the widget.

Example:

FastDialog(
  title: 'Title',
  maxWidth: 500,
  radius: 20,
  children: [
    Text('Content'),
  ],
)

Implementation

const FastDialog({
  super.key,
  required this.children,
  this.maxWidth = 400,
  this.radius = 12,
  this.title,
});