Modal constructor

Modal({
  1. Component? title,
  2. Component? body,
  3. List<Component>? actions,
  4. bool? dismissible,
  5. Map<String, dynamic>? style,
  6. String tag = 'div',
  7. String? className,
})

Modal component. Use the showModal function to display the modal.

Implementation

Modal({
  this.title,
  this.body,
  this.actions,
  this.dismissible,
  super.style,
  super.tag = 'div',
  super.className,
});