ActionBarConfiguration constructor
ActionBarConfiguration({
- RoundButton? flashButton,
- RoundButton? zoomButton,
- RoundButton? flipCameraButton,
Implementation
ActionBarConfiguration({
RoundButton? flashButton,
RoundButton? zoomButton,
RoundButton? flipCameraButton,
}) : flashButton = flashButton ??
RoundButton(
visible: true,
backgroundColor: ScanbotColor("?sbColorSurfaceHigh"),
foregroundColor: ScanbotColor("?sbColorOnPrimary"),
activeBackgroundColor: ScanbotColor("?sbColorWarning"),
activeForegroundColor: ScanbotColor("#1C1B1F")),
zoomButton = zoomButton ??
RoundButton(
visible: true,
backgroundColor: ScanbotColor("?sbColorSurfaceHigh"),
foregroundColor: ScanbotColor("?sbColorOnPrimary"),
activeBackgroundColor: ScanbotColor("?sbColorSurfaceHigh"),
activeForegroundColor: ScanbotColor("?sbColorOnPrimary")),
flipCameraButton = flipCameraButton ??
RoundButton(
visible: true,
backgroundColor: ScanbotColor("?sbColorSurfaceHigh"),
foregroundColor: ScanbotColor("?sbColorOnPrimary"),
activeBackgroundColor: ScanbotColor("?sbColorSurfaceHigh"),
activeForegroundColor: ScanbotColor("?sbColorOnPrimary"));