EzDialog constructor
EzDialog({})
Styles a PlatformAlertDialog
with EzConfig
Adds an optional contents
parameter to provide instead of the traditional content
If provided, contents
will be used in an EzScrollView
Only one option can be provided
Optionally remove the "Close" action on iOS via needsClose
Implementation
EzDialog({
this.key,
this.widgetKey,
this.actions,
this.content,
this.contents,
this.title,
this.cupertino,
this.material,
this.needsClose = true,
}) : assert(content == null || contents == null,
'Either content or contents must be provided, not both.');