From 4ce29204f70bd9ee2a7198dbb7075b9334a95b83 Mon Sep 17 00:00:00 2001 From: Reni Delonzek Date: Fri, 30 Jul 2021 16:04:15 -0300 Subject: [PATCH] Use TextButton in actions Adaptation of push buttons according to Material Design specifications https://material.io/components/date-pickers --- lib/date_range_picker.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/date_range_picker.dart b/lib/date_range_picker.dart index 9cfde8b..2c0d256 100644 --- a/lib/date_range_picker.dart +++ b/lib/date_range_picker.dart @@ -1147,11 +1147,11 @@ class _DatePickerDialogState extends State<_DatePickerDialog> { ); final Widget actions = new ButtonBar( children: [ - new ElevatedButton( + new TextButton( child: new Text(localizations.cancelButtonLabel), onPressed: _handleCancel, ), - new ElevatedButton( + new TextButton( child: new Text(localizations.okButtonLabel), onPressed: _handleOk, ),