FastDialog constructor
const
FastDialog({})
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,
});