onlyOkButton property

bool onlyOkButton
final

Sets dialog to have only OK button.

Default is false. If set to true there is no need to set buttonCancelText, buttonCancelColor and onCancelButtonPressed

Implementation

final bool onlyOkButton;