Secure Text Box
Represents a Material UI styled text box for secure fields.
Overview
SecureTextBox
provides a secure text input field with Material UI styling, useful for handling sensitive information.
To use the SecureTextBox
, initialize it with a title key and a binding to manage the text value. You can also optionally provide a system symbol for the field and a custom background color.
Initializers
Creates a default secure text box with a title key and text binding.
Creates a secure text box with a system symbol and a title key.
Creates a secure text box with a system symbol, title key, text binding, and a custom background color.
Parameters
Parameter
Description
systemImage
System symbol to be displayed in the secure field.
titleKey
Title displayed inside the secure text field.
text
Binding to the text value of the secure field.
background
Custom background color for the secure field.
Modifier
Sets the corner radius for the secure text field.
Example
Displays a basic secure text box with a title key.
Displays a secure text box with a custom system image.
Displays a secure text box with a custom system image and custom background.
Displays a default secure text box with custom border radius.
SecureTextBox
uses the default configuration’s corner radius if a custom value is not specified.
Last updated