showTodayButton property

bool showTodayButton
final

Displays the today button on the bottom of date range picker.

The today button allows to navigate to the today date quickly in all view of date range picker.

Defaults to false.

See also:


@override
Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfDateRangePicker(
         showTodayButton: true,
       ),
     ),
   );
 }

Implementation

final bool showTodayButton;