Skip to content

galleryButtonType: GalleryButtonType.none incorrectly hides all buttons instead of only the gallery button #176

Description

@VictorJava

Steps to reproduce

  1. Add dependency ai_barcode_scanner: ^7.1.0
  2. Pass galleryButtonType: GalleryButtonType.none to AiBarcodeScanner widget

Actual result
All buttons (flashlight, flip camera, close, etc.) disappear from the scanner screen.
Expected result
Only the “Gallery/Pick from album” button should be hidden. All other control buttons (flash, flip camera, close, etc.) must remain visible and functional.
Please see the attached video for demonstration.

Screen.Recording.2025-12-02.at.10.27.56.mp4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions