SelfieCaptureTheme class

Visual customization for the selfie capture experience.

Constructors

SelfieCaptureTheme({Color primaryColor = const Color(0xFF176B3A), Color onPrimaryColor = Colors.white, Color surfaceColor = const Color(0xFF101411), Color onSurfaceColor = Colors.white, Color errorColor = const Color(0xFFFFB4AB), Color guidanceSurfaceColor = const Color(0xD91A1F1B), Color onGuidanceSurfaceColor = Colors.white, double spacing = 16, double controlRadius = 20, double guidanceRadius = 18, Duration transitionDuration = const Duration(milliseconds: 280), SelfieCaptureOverlayStyle overlayStyle = const SelfieCaptureOverlayStyle()})
const

Properties

controlRadius → double
final
errorColor → Color
final
guidanceRadius → double
final
guidanceSurfaceColor → Color
final
hashCode → int
The hash code for this object.
no setterinherited
onGuidanceSurfaceColor → Color
final
onPrimaryColor → Color
final
onSurfaceColor → Color
final
overlayStyle → SelfieCaptureOverlayStyle
final
primaryColor → Color
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spacing → double
final
surfaceColor → Color
final
transitionDuration → Duration
final

Methods

applyTo(ThemeData base) → ThemeData
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited