LoginTemplateConfirmCodePage class

LoginTemplateConfirmCodePage is used to show a page, lets users can input the OTP code sent to their email/phone number.

Inheritance

Constructors

LoginTemplateConfirmCodePage({Key? key, required LoginTemplateStyle style, String textMessage = 'Enter the 6 digit code sent to you at ******.', String buttonTextNext = 'Confirm', required dynamic onPressedNext(), TextInputAction textInputActionCode = TextInputAction.done, TextInputType keyboardTypeCode = TextInputType.number, String hintTextCode = 'Code', String? errorTextCode, List<TextInputFormatter>? inputFormattersCode, dynamic onTapCode()?, TextEditingController? controllerCode, String buttonTextResend = 'Resend', required dynamic onPressedResend(), String textMessageResend = 'Not received, even at Spam folder?'})
Constructor
const

Properties

buttonTextNext String
The text of button to go to next step.
final
buttonTextResend String
The text of button to resend the OTP code.
final
controllerCode TextEditingController?
Use for the TextField lets the users input the OTP code. See also LoginTemplateTextField
final
errorTextCode String?
Use for the TextField lets the users input the OTP code. See also LoginTemplateTextField
final
hashCode int
The hash code for this object.
no setterinherited
hintTextCode String
Use for the TextField lets the users input the OTP code. See also LoginTemplateTextField
final
inputFormattersCode List<TextInputFormatter>?
Use for the TextField lets the users input the OTP code. See also LoginTemplateTextField
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardTypeCode TextInputType
Use for the TextField lets the users input the OTP code. See also LoginTemplateTextField
final
Your product logo
final
onPressedNext → dynamic Function()
The action of button to go to next step.
final
onPressedResend → dynamic Function()
The action of button to resend the OTP code.
final
onTapCode → (dynamic Function()?)
Use for the TextField lets the users input the OTP code. See also LoginTemplateTextField
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style LoginTemplateStyle
See LoginTemplateStyle
final
textInputActionCode TextInputAction
Use for the TextField lets the users input the OTP code. See also LoginTemplateTextField
final
textMessage String
The message is used to explain to users.
final
textMessageResend String
The message is used to explain to users about resending the OTP code.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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