onlyCancelButton property

bool onlyCancelButton
final

Sets dialog to have only Cancel button.

Default is false. If set to true there is no need to set buttonOkText, buttonOkColor and onOkButtonPressed

Implementation

final bool onlyCancelButton;