WidgetInputOTPChild class
A widget-based OTP child that doesn't accept input.
Used for displaying static content like separators or spacers within an InputOTP widget. This child does not hold any value.
Example:
WidgetInputOTPChild(
Icon(Icons.arrow_forward),
)
- Inheritance
-
- Object
- InputOTPChild
- WidgetInputOTPChild
Constructors
- WidgetInputOTPChild(Widget child)
-
Creates a WidgetInputOTPChild.
const
Properties
Methods
-
build(
BuildContext context, InputOTPChildData data) → Widget -
Builds the widget for this OTP child.
override
-
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