ShowDialog.component constructor

ShowDialog.component(
  1. ComponentHandle? component, {
  2. Map<String, Object?>? params,
  3. bool nonDismissible = false,
})

Implementation

ShowDialog.component(
  this.component, {
  Map<String, Object?>? params,
  this.nonDismissible = false,
}) : kind = ShowDialogKind.component,
     title = null,
     message = null,
     dismissText = null,
     params = params == null ? const {} : Map.unmodifiable(params);