showTodayButton property
Displays the today button on the bottom of the SfHijriDateRangePicker.
The today button allows to navigate to the today date quickly in all view of the SfHijriDateRangePicker.
Defaults to false
.
See also:
- showActionButtons, which used to handle the selected value.
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: SfHijriDateRangePicker(
showTodayButton: true,
),
),
);
}
Implementation
final bool showTodayButton;