Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Ioannou authored Nov 16, 2020
1 parent c32c1d7 commit 2a414f5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
## [1.0.7] - 16 Nov 2020
* Add optional `textStyle` parameter for each action.
```Dart
showAdaptiveActionSheet(
context: context,
actions: <BottomSheetAction>[
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.
Expand Down

0 comments on commit 2a414f5

Please sign in to comment.