Text Field Molecule
class TextFieldMolecule( val textAtom: TextAtom, val backgroundColorAtom: ColorAtom, val hintTextAtom: TextAtom? = null, val errorTextAtom: TextAtom? = null, val disabledColorAtom: ColorAtom? = null, val cursorColor: AtomikColor? = null, val errorColor: AtomikColor? = errorTextAtom?.textColor) : BaseMolecule
Content copied to clipboard
A molecule that contains information about a TextField
Constructors
Link copied to clipboard
fun TextFieldMolecule( textAtom: TextAtom, backgroundColorAtom: ColorAtom, hintTextAtom: TextAtom? = null, errorTextAtom: TextAtom? = null, disabledColorAtom: ColorAtom? = null, cursorColor: AtomikColor? = null, errorColor: AtomikColor? = errorTextAtom?.textColor)
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
the ColorAtom of the text if the ui is disabled
Link copied to clipboard
the AtomikColor of the error, used for all error elements in the View
Link copied to clipboard
the TextAtom used for the error Text when the field has an error
Link copied to clipboard
the TextAtom used for the hint Text when the field is empty