InquiryTheme class
Elements used to theme the Persona screens with custom colors, fonts, text sizes, and corner radius.
Constructors
- InquiryTheme({required InquiryThemeSource source, Color? buttonShadowColor, double? buttonShadowRadius, double? buttonShadowAlpha, double? buttonShadowWidth, double? buttonShadowHeight, double? cancelButtonShadowRadius, Color? errorColor, Color? overlayBackgroundColor, Color? textFieldBackgroundColor, Color? buttonDisabledTextColor, Color? checkboxBackgroundColor, Color? checkboxForegroundColor, Color? cancelButtonTextColor, Color? cancelButtonAlternateBackgroundColor, Color? cancelButtonAlternateTextColor, Color? cancelButtonShadowColor, Color? separatorColor, Color? backgroundColor, Color? textFieldBorderColor, Color? buttonBackgroundColor, Color? buttonTouchedBackgroundColor, Color? buttonDisabledBackgroundColor, Color? closeButtonTintColor, Color? cancelButtonBackgroundColor, Color? selectedCellBackgroundColor, Color? accentColor, Color? darkPrimaryColor, Color? primaryColor, Color? titleTextColor, Color? bodyTextColor, Color? formLabelTextColor, Color? buttonTextColor, Color? pickerTextColor, Color? textFieldTextColor, Color? footnoteTextColor, double? buttonCornerRadius, double? textFieldCornerRadius, String? titleTextFontFamily, double? titleTextFontSize, String? bodyTextFontFamily, double? bodyTextFontSize, bool? showGovernmentIdIcons, String? errorTextFontFamily, double? errorTextFontSize, String? textFieldFontFamily, double? textFieldFontSize, String? textFieldPlaceholderFontFamily, double? textFieldPlaceholderFontSize, String? pickerTextFontFamily, double? pickerTextFontSize, Color? cameraInstructionsTextColor, Color? cameraButtonAlternateBackgroundColor, Color? cameraButtonAlternateTextColor, Color? cameraButtonBackgroundColor, Color? cameraButtonTextColor, Color? cameraGuideCornersColor, Color? cameraGuideHintTextColor, Color? cameraHintTextColor, String? footnoteTextFontFamily, double? footnoteTextFontSize, String? formLabelTextFontFamily, double? formLabelTextFontSize, })
Properties
- accentColor → Color?
-
The accent color.
final
- backgroundColor → Color?
-
The background color for all views.
final
- bodyTextColor → Color?
-
The text color for body labels.
final
- bodyTextFontFamily → String?
-
Body font family
final
- bodyTextFontSize → double?
-
Body font size (pt)
final
-
The background color for buttons, in the normal state.
final
-
The corner radius to apply to buttons.
final
-
The background color for buttons, in the disabled state.
final
-
The text color for button text, in the disabled state.
final
-
The alpha value (0..1) used to render the shadow.
final
-
The shadow color for buttons (this should include the desired opacity)
final
-
The blur height used to render the shadow..
final
-
The blur radius (in points) used to render the shadow.
final
-
The blur width used to render the shadow..
final
-
The text color for button text, in the normal state.
final
-
The background color for buttons, in the touched state.
final
- cameraButtonAlternateBackgroundColor → Color?
-
The background color for the button that re-takes a photo.
final
- cameraButtonAlternateTextColor → Color?
-
The text color for the button that re-takes a photo.
final
- cameraButtonBackgroundColor → Color?
-
The background color for the button that takes a photo.
final
- cameraButtonTextColor → Color?
-
The text color for the button that takes a photo.
final
- cameraGuideCornersColor → Color?
-
The text color for the final
- cameraGuideHintTextColor → Color?
-
The text color for camera guide hint titles.
final
- cameraHintTextColor → Color?
-
The text color for camera hint titles.
final
- cameraInstructionsTextColor → Color?
-
The text color for camera hint titles.
final
- cancelButtonAlternateBackgroundColor → Color?
-
The background color for the “Yes, cancel” button when cancelling a verification.
final
- cancelButtonAlternateTextColor → Color?
-
The text color for the “Yes, cancel” button when cancelling a verification.
final
- cancelButtonBackgroundColor → Color?
-
The background color for buttons when cancelling a verification.
final
- cancelButtonShadowColor → Color?
-
The shadow color for buttons (this should include the desired opacity)
final
- cancelButtonShadowRadius → double?
-
The blur radius (in points) used to render the shadow.
final
- cancelButtonTextColor → Color?
-
The text color for buttons when cancelling a verification.
final
- checkboxBackgroundColor → Color?
-
The background color for checkboxes, in the normal state.
final
- checkboxForegroundColor → Color?
-
The foreground color for checkboxes, in the normal state.
final
- closeButtonTintColor → Color?
-
The tint to apply to the close button.
final
- darkPrimaryColor → Color?
-
The darker, primary color.
final
- errorColor → Color?
-
The error color.
final
- errorTextFontFamily → String?
-
Error font family
final
- errorTextFontSize → double?
-
Error font size (pt)
final
-
Footer background color
final
-
Footer border color
final
-
Footer border width
final
- footnoteTextColor → Color?
-
The text color for footnote labels.
final
- footnoteTextFontFamily → String?
-
Footnote font family
final
- footnoteTextFontSize → double?
-
Footnote font size
final
- formLabelTextColor → Color?
-
The text color for form labels.
final
- formLabelTextFontFamily → String?
-
Form label font family
final
- formLabelTextFontSize → double?
-
Form label font size
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
The text color for title labels.
final
-
Navigation bar font family
final
-
Navigation bar font size
final
- overlayBackgroundColor → Color?
-
The background color for overlay views.
final
- pickerTextColor → Color?
-
The text color for picker items.
final
- pickerTextFontFamily → String?
-
Picker font family
final
- pickerTextFontSize → double?
-
Picker font size
final
- primaryColor → Color?
-
The primary color.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedCellBackgroundColor → Color?
-
The text color for a selected table view cell.
final
- separatorColor → Color?
-
The border color for separators.
final
- showGovernmentIdIcons → bool?
-
Whether or not to show the icons next to government ID types
final
- source → InquiryThemeSource
-
final
- textFieldBackgroundColor → Color?
-
The background color for text fields.
final
- textFieldBorderColor → Color?
-
The border color for text fields.
final
- textFieldCornerRadius → double?
-
The corner radius for text fields.
final
- textFieldFontFamily → String?
-
Text fields font family
final
- textFieldFontSize → double?
-
Text fields font size
final
- textFieldPlaceholderFontFamily → String?
-
Placeholder text font family
final
- textFieldPlaceholderFontSize → double?
-
Placeholder text font size
final
- textFieldTextColor → Color?
-
The text color for text fields.
final
- titleTextColor → Color?
-
The text color for title labels.
final
- titleTextFontFamily → String?
-
Title font family
final
- titleTextFontSize → double?
-
Title font size (pt)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited