adaptive_action_sheet
A Flutter package for action bottom sheet that adapts to the platform (Android/iOS).
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 1.5 years
Nearly every release is documented
notes for 19 of 19 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
19 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
19 releases · May 2020 to Feb 2025
2021
2022
2023
2024
2025
2026
Releases
latest 19-
2.0.421 Feb 2025Release notes
Open source →In this version:
- Replace willpopscope with popscope
- Fixed inkwell shown behind card in Android
- Update dependencies
Release notes
Open source →- Replace willpopscope with popscope
- Fixed inkwell shown behind card in Android
- Update dependencies
-
2.0.323 Jan 2024Release notes
Open source →In this version:
- Add
useRootNavigatorparameter (optional) to set useRootNavigator ofshowCupertinoModalPopup(Default true) and useRootNavigator ofshowModalBottomSheet(Default false)showAdaptiveActionSheet( context: context, title: const Text('Title'), useRootNavigator: true, actions: <BottomSheetAction>[ BottomSheetAction(title: const Text('Item 1'), onPressed: (context) {}), BottomSheetAction(title: const Text('Item 2'), onPressed: (context) {}), BottomSheetAction(title: const Text('Item 3'), onPressed: (context) {}), ], cancelAction: CancelAction(title: const Text('Cancel')),// onPressed parameter is optional by default will dismiss the ActionSheet );
- Wrap the content of
showMaterialBottomSheetwith a SafeArea
Release notes
Open source →- Add
useRootNavigatorparameter (optional) to set useRootNavigator ofshowCupertinoModalPopup(Default true) and useRootNavigator ofshowModalBottomSheet(Default false)showAdaptiveActionSheet( context: context, title: const Text('Title'), useRootNavigator: true, actions: <BottomSheetAction>[ BottomSheetAction(title: const Text('Item 1'), onPressed: (context) {}), BottomSheetAction(title: const Text('Item 2'), onPressed: (context) {}), BottomSheetAction(title: const Text('Item 3'), onPressed: (context) {}), ], cancelAction: CancelAction(title: const Text('Cancel')),// onPressed parameter is optional by default will dismiss the ActionSheet ); - Wrap the content of
showMaterialBottomSheetwith a SafeArea
- Add
-
2.0.217 Jul 2022Release notes
Open source →In this version:
- Add context to 'onPressed' for BottomSheetAction.
showAdaptiveActionSheet( context: context, title: const Text('Title'), actions: <BottomSheetAction>[ BottomSheetAction(title: const Text('Item 1'), onPressed: (context) {}), BottomSheetAction(title: const Text('Item 2'), onPressed: (context) {}), BottomSheetAction(title: const Text('Item 3'), onPressed: (context) {}), ], cancelAction: CancelAction(title: const Text('Cancel')),// onPressed parameter is optional by default will dismiss the ActionSheet );
Release notes
Open source →- Add context to 'onPressed' for BottomSheetAction.
showAdaptiveActionSheet( context: context, title: const Text('Title'), actions: <BottomSheetAction>[ BottomSheetAction(title: const Text('Item 1'), onPressed: (context) {}), BottomSheetAction(title: const Text('Item 2'), onPressed: (context) {}), BottomSheetAction(title: const Text('Item 3'), onPressed: (context) {}), ], cancelAction: CancelAction(title: const Text('Cancel')),// onPressed parameter is optional by default will dismiss the ActionSheet );
- Add context to 'onPressed' for BottomSheetAction.
-
2.0.104 Jan 2022Release notes
Open source →- Add
isDismissibleparameter that specifies whether the bottom sheet will be dismissed when user taps outside of the bottom sheet.showAdaptiveActionSheet( context: context, isDismissible: false, actions: <BottomSheetAction>[ BottomSheetAction( title: const Text('Item 1'), onPressed: () {}, ), BottomSheetAction( title: const Text('Item 2'), onPressed: () {}, ), ], cancelAction: CancelAction(title: 'Cancel'), );
- Add
-
2.0.008 Mar 2021 -
1.1.022 Feb 2021Release notes
Open source →In this version:
Breaking change:
- Change
titletype from String to Widget
Version 1.1.0 or later Version 1.0.12 or earlier BottomSheetAction( title: const Text( 'Title', style: TextStyle( fontSize: 18, fontWeight: FontWeight.w500, ), ), onPressed: () {}, leading: const Icon(Icons.add, size: 25), ),
BottomSheetAction( title: 'Title', textStyle: TextStyle( fontSize: 18, fontWeight: FontWeight.w500, ), onPressed: () {}, leading: const Icon(Icons.add, size: 25), ),
Release notes
Open source →Breaking change:
- Change
titletype from String to Widget <table> <tr> <th>Version 1.1.0 or later</th> <th>Version 1.0.12 or earlier</th> </tr> <tr> <td>
BottomSheetAction( title: const Text( 'Title', style: TextStyle( fontSize: 18, fontWeight: FontWeight.w500, ), ), onPressed: () {}, leading: const Icon(Icons.add, size: 25), ),</td> <td>
BottomSheetAction( title: 'Title', textStyle: TextStyle( fontSize: 18, fontWeight: FontWeight.w500, ), onPressed: () {}, leading: const Icon(Icons.add, size: 25), ),</td> </tr> </table>
- Change
-
1.0.1210 Feb 2021Release notes
Open source →In this version:
- Fix issues when trailing or leading widget require a Material widget ancestor.
Release notes
Open source →- Fix issues when trailing or leading widget require a Material widget ancestor.
-
1.0.1120 Jan 2021Release notes
Open source →In this version:
- Add options for leading and trailing widget
- Add options for text align
showAdaptiveActionSheet( context: context, actions: <BottomSheetAction>[ BottomSheetAction( title: 'Add', onPressed: () {}, leading: const Icon( Icons.add, size: 25, ), trailing: const Icon( Icons.delete, size: 25, color: Colors.red, ), textAlign: TextAlign.start, ), ], cancelAction: CancelAction(title: 'Cancel'), );
Release notes
Open source →- Add options for leading and trailing widget
- Add options for text align
showAdaptiveActionSheet( context: context, actions: <BottomSheetAction>[ BottomSheetAction( title: 'Add', onPressed: () {}, leading: const Icon( Icons.add, size: 25, ), trailing: const Icon( Icons.delete, size: 25, color: Colors.red, ), textAlign: TextAlign.start, ), ], cancelAction: CancelAction(title: 'Cancel'), );
-
1.0.1017 Jan 2021 -
1.0.916 Dec 2020Release notes
Open source →In this version:
- [Android] Fix default material background color.
- [Android] Fix the padding on the top if title not set.
- [iOS] Use
showCupertinoModalPopupinstead ofshowModalBottomSheet
Release notes
Open source →- [Android] Fix default material background color.
- [Android] Fix the padding on the top if title not set.
- [iOS] Use showCupertinoModalPopup instead of showModalBottomSheet
-
1.0.818 Nov 2020 -
1.0.716 Nov 2020Release notes
Open source →- Add optional
textStyleparameter for each action.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, ), ), );
- Add optional
-
1.0.629 Oct 2020Release notes
Open source →- Add optional
titleparameter and will be displayed as title in the action sheet.showAdaptiveActionSheet( context: context, title: const Text('Title'), actions: <BottomSheetAction>[ BottomSheetAction(title: 'Item 1', onPressed: () {}), BottomSheetAction(title: 'Item 2', onPressed: () {}), ], cancelAction: CancelAction(title: 'Cancel'),// onPressed parameter is optional by default will dismiss the ActionSheet );
- Add optional
-
1.0.506 Oct 2020 -
1.0.404 Aug 2020Release notes
Open source →- Add scroll at material bottom sheet
- Fix overflow at android action sheet
-
1.0.305 Jun 2020 -
1.0.225 May 2020 -
1.0.120 May 2020 -
1.0.019 May 2020