buildCancelButton method
Builds the widget for the cancel button.
Implementation
Widget buildCancelButton() {
if (onCancelTap != null && cancelButtonText != null) {
return FastOutlinedButton(
onTap: onCancelTap,
labelText: cancelButtonText,
);
}
return const SizedBox.shrink();
}