cancelText property Null safety

String cancelText
final

Text that displays on the cancel button.

See also:


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

Implementation

final String cancelText;