From 2a414f59ad6715f996447e7c50b76b562204eab5 Mon Sep 17 00:00:00 2001 From: Daniel Ioannou Date: Mon, 16 Nov 2020 22:42:45 +0200 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed5bdde..3c154d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,29 @@ +## [1.0.7] - 16 Nov 2020 +* Add optional `textStyle` parameter for each action. + ```Dart + showAdaptiveActionSheet( + context: context, + actions: [ + BottomSheetAction( + title: 'Item 1', + onPressed: () {}, + textStyle: const TextStyle( + fontSize: 25, + color: Colors.blueAccent, + ), + ), + BottomSheetAction(title: 'Item 2', onPressed: () {}), + ], + cancelAction: CancelAction(// onPressed parameter is optional by default will dismiss the ActionSheet + title: 'Cancel', + textStyle: const TextStyle( + fontSize: 25, + color: Colors.blueAccent, + ), + ), + ); + ``` + ## [1.0.6] - 29 Oct 2020 * Add optional `title` parameter and will be displayed as title in the action sheet.