Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't close bottomSheet by back button or swipe gesture #35

Open
abhinavsinghring opened this issue Jul 24, 2024 · 0 comments
Open

Can't close bottomSheet by back button or swipe gesture #35

abhinavsinghring opened this issue Jul 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@abhinavsinghring
Copy link

bottom sheet is closing fine by backdrop and also with button onTap => Get.back() but not with back gesture or back button

showSlidingBottomSheet(
  context, 
  builder: (context) {
    return SlidingSheetDialog(
      color: Theme.of(context).colorScheme.surface,
      elevation: 0,
      duration: const Duration(milliseconds: 500),
      cornerRadius: 15,
      cornerRadiusOnFullscreen: 0,
      snapSpec: const SnapSpec(
        snap: true,
        snappings: [0.6, 0.7, 1.0],
        positioning: SnapPositioning.relativeToAvailableSpace,
      ),
      avoidStatusBar: true,
      builder: (context, state) {
        return const Material(
          type: MaterialType.transparency,
          child: UpdateNameBottomSheet()
        );
      },
    );
  }
);
@KirillIvonchikDev KirillIvonchikDev added the bug Something isn't working label Aug 8, 2024
@flutterwtf flutterwtf deleted a comment from abhinavsinghring Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants