Saptarshi Adhikari

resolved requested changes

... ... @@ -51,14 +51,42 @@ class _BarcodeScannerWithZoomState extends State<BarcodeScannerWithZoom>
color: Colors.black.withOpacity(0.4),
child: Column(
children: [
Slider(
value: _zoomFactor,
onChanged: (value) {
setState(() {
_zoomFactor = value;
controller.setZoomScale(value);
});
},
Padding(
padding: const EdgeInsets.symmetric(horizontal: 8.0),
child: Row(
children: [
Text(
"0%",
overflow: TextOverflow.fade,
style: Theme.of(context)
.textTheme
.headlineMedium!
.copyWith(color: Colors.white),
),
Expanded(
child: Slider(
max: 100,
divisions: 100,
value: _zoomFactor,
label: "${_zoomFactor.round()} %",
onChanged: (value) {
setState(() {
_zoomFactor = value;
controller.setZoomScale(value);
});
},
),
),
Text(
"100%",
overflow: TextOverflow.fade,
style: Theme.of(context)
.textTheme
.headlineMedium!
.copyWith(color: Colors.white),
),
],
),
),
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
... ...

228 KB | W: | H:

25.4 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

32.7 KB | W: | H:

32.1 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

233 KB | W: | H:

151 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
... ... @@ -6,16 +6,12 @@ repository: https://github.com/juliansteenbakker/mobile_scanner
screenshots:
- description: 'Flutter Demo Home Page'
path: example\screenshots\homepage.png
- description: 'Mobile Scanner with List controller'
path: example\screenshots\listController.png
- description: 'Mobile Scanner with controller'
path: example\screenshots\controller.png
- description: 'Mobile Scanner with scan window'
path: example\screenshots\scanWindow.png
- description: 'Mobile Scanner with controller (returning image)'
path: example\screenshots\returningImage.png
- description: 'Mobile Scanner without controller'
path: example\screenshots\withoutController.png
- description: 'Mobile Scanner with zoom slider'
path: example\screenshots\zoomSlider.png
- description: 'Mobile Scanner pageView'
... ...