FlutterBarcodeScannerStatusBarStyle class
Status bar styling for the full-screen scanner.
- Annotations
Constructors
- FlutterBarcodeScannerStatusBarStyle({bool isTransparent = false, Color? backgroundColor, FlutterBarcodeScannerStatusBarIconBrightness iconBrightness = FlutterBarcodeScannerStatusBarIconBrightness.light})
-
Creates status bar styling for the native full-screen scanner.
const
Properties
- backgroundColor → Color?
-
Optional ARGB background color used when isTransparent is
false.final - hashCode → int
-
The hash code for this object.
no setteroverride
- iconBrightness → FlutterBarcodeScannerStatusBarIconBrightness
-
Brightness of the native status bar icons.
final
- isTransparent → bool
-
Whether the status bar background should be transparent.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? isTransparent, Color? backgroundColor, bool clearBackgroundColor = false, FlutterBarcodeScannerStatusBarIconBrightness? iconBrightness}) → FlutterBarcodeScannerStatusBarStyle - Returns a copy with selected values replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> - Converts this style into the method-channel payload map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override