showActionButtons property

bool showActionButtons
final

Displays confirm and cancel buttons on the date range picker to perform the confirm and cancel actions.

The onSubmit and onCancel callback is called based on the actions of the buttons.

See also:


@override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text('Date Range Picker'),
        ),
        body: Container(
            child: SfDateRangePicker(
          cancelText: 'Dismiss',
          confirmText: 'Confirm',
          showActionButtons: true,
        )));
  }

Implementation

final bool showActionButtons;