-
-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
I am trying to customize the AppBar of the scanner using barcodeAppBar, but the values I provide are not reflected in the UI. The scanner opens, but the AppBar title and configuration are not displayed as specified.
String? studentRes = await SimpleBarcodeScanner.scanBarcode(
context,
barcodeAppBar: const BarcodeAppBar(
appBarTitle: 'Pair Scan: 1/2. Scan Student QR',
centerTitle: true,
enableBackButton: true,
backButtonIcon: Icon(Icons.arrow_back_ios),
),
isShowFlashIcon: true,
scanFormat: ScanFormat.ALL_FORMATS,
);
Expected Behavior:
The scanner screen should show an AppBar with:
Title: Pair Scan: 1/2. Scan Student QR
Centered title
Back button with arrow_back_ios icon.
Actual Behavior:
The scanner opens but the AppBar does not reflect the provided configuration (title/back button settings are not shown as specified).
Environment:
Flutter version: <3.38.4>
Platform: Android / iOS
Plugin version: <0.4.0>
Additional Info:
Let me know if I am missing any configuration or if this is a known issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels