showCancelButton property

bool showCancelButton
final

This controls weather to show or hide cancel button

Implementation

final bool showCancelButton;