Skip to content

v1.0.11

Compare
Choose a tag to compare
@Daniel-Ioannou Daniel-Ioannou released this 20 Jan 20:51
· 57 commits to master since this release
7fb4643

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'),
    );