PackageTrack
Sign in Get early access

adaptive_action_sheet

A Flutter package for action bottom sheet that adapts to the platform (Android/iOS).

2.0.4 Daniel-Ioannou/flutter_adaptive_action_sheet

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
Release Pre-release

Releases

latest 19
  1. 2.0.4 21 Feb 2025
    Release notes

    In this version:

    • Replace willpopscope with popscope
    • Fixed inkwell shown behind card in Android
    • Update dependencies
    Open source →
    Release notes
    • Replace willpopscope with popscope
    • Fixed inkwell shown behind card in Android
    • Update dependencies
    Open source →
  2. 2.0.3 23 Jan 2024
    Release notes

    In this version:

    • Add useRootNavigator parameter (optional) to set useRootNavigator of showCupertinoModalPopup (Default true) and useRootNavigator of showModalBottomSheet (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 showMaterialBottomSheet with a SafeArea
    Open source →
    Release notes
    • Add useRootNavigator parameter (optional) to set useRootNavigator of showCupertinoModalPopup (Default true) and useRootNavigator of showModalBottomSheet (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 showMaterialBottomSheet with a SafeArea
    Open source →
  3. 2.0.2 17 Jul 2022
    Release notes

    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
      );
    Open source →
    Release notes
    • 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
      );
      
    Open source →
  4. 2.0.1 04 Jan 2022
    Release notes
    • Add isDismissible parameter 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'),
      );
      
    Open source →
  5. 2.0.0 08 Mar 2021
    Release notes

    In this version:

    • Migrated to null safety
    Open source →
    Release notes
    • Migrated to null safety
    Open source →
  6. 1.1.0 22 Feb 2021
    Release notes

    In this version:

    Breaking change:

    • Change title type 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),
     ),
    Open source →
    Release notes

    Breaking change:

    • Change title type 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>

    Open source →
  7. 1.0.12 10 Feb 2021
    Release notes

    In this version:

    • Fix issues when trailing or leading widget require a Material widget ancestor.
    Open source →
    Release notes
    • Fix issues when trailing or leading widget require a Material widget ancestor.
    Open source →
  8. 1.0.11 20 Jan 2021
    Release notes

    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'),
      );
    Open source →
    Release notes
    • 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'),
      );
      
    Open source →
  9. 1.0.10 17 Jan 2021
    Release notes

    In this version:

    • Support web platform
    Open source →
    Release notes
    • Support web platform
    Open source →
  10. 1.0.9 16 Dec 2020
    Release notes

    In this version:

    • [Android] Fix default material background color.
    • [Android] Fix the padding on the top if title not set.
    • [iOS] Use showCupertinoModalPopup instead of showModalBottomSheet
    Open source →
    Release notes
    • [Android] Fix default material background color.
    • [Android] Fix the padding on the top if title not set.
    • [iOS] Use showCupertinoModalPopup instead of showModalBottomSheet
    Open source →
  11. 1.0.8 18 Nov 2020
    Release notes

    In this version:

    • Update documentation
    • Format project
    Open source →
    Release notes
    • Update documentation.
    Open source →
  12. 1.0.7 16 Nov 2020
    Release notes
    • Add optional textStyle parameter 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,
            ),
         ),
      );
      
    Open source →
  13. 1.0.6 29 Oct 2020
    Release notes
    • Add optional title parameter 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
      );
      
    Open source →
  14. 1.0.5 06 Oct 2020
    Release notes
    • Add option to customize colors via bottomSheetColor and barrierColor.
    Open source →
  15. 1.0.4 04 Aug 2020
    Release notes
    • Add scroll at material bottom sheet
    • Fix overflow at android action sheet
    Open source →
  16. 1.0.3 05 Jun 2020
    Release notes
    • Add required annotation for all the required parameters
    Open source →
  17. 1.0.2 25 May 2020
    Release notes
    • Add options to customize cancel action.
    • UMake cancel action optional.
    Open source →
  18. 1.0.1 20 May 2020
    Release notes
    • Update documentation.
    Open source →
  19. 1.0.0 19 May 2020
    Release notes
    • Initial developers preview release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive