CustomOtptextfield class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- CustomOtptextfield
Constructors
- CustomOtptextfield({Key? key, bool isCupertino = false, int maxLength = 4, TextEditingController? controller, bool hideCharacter = false, bool highlight = false, bool highlightAnimation = false, Color highlightAnimationBeginColor = Colors.white, Color highlightAnimationEndColor = Colors.black, Duration? highlightAnimationDuration, Color highlightColor = Colors.black, PinBoxDecoration? pinBoxDecoration, String maskCharacter = " ", double pinBoxWidth = 70.0, double pinBoxHeight = 70.0, TextStyle? pinTextStyle, OnDone? onDone, Color defaultBorderColor = Colors.black, Color hasTextBorderColor = Colors.black, AnimatedSwitcherTransitionBuilder? pinTextAnimatedSwitcherTransition, Duration pinTextAnimatedSwitcherDuration = const Duration(), bool hasError = false, Color errorBorderColor = Colors.red, dynamic onTextChanged(String)?, bool autofocus = false, FocusNode? focusNode, WrapAlignment wrapAlignment = WrapAlignment.start, TextDirection textDirection = TextDirection.ltr, TextInputType keyboardType = TextInputType.number, EdgeInsets pinBoxOuterPadding = const EdgeInsets.symmetric(horizontal: 4.0), Color? pinBoxColor, Color? highlightPinBoxColor, double pinBoxBorderWidth = 2.0, double pinBoxRadius = 0, bool hideDefaultKeyboard = false, bool hasUnderline = false})
-
const
Properties
- autofocus → bool
-
final
- controller → TextEditingController?
-
final
- defaultBorderColor → Color
-
final
- errorBorderColor → Color
-
final
- focusNode → FocusNode?
-
final
- hasError → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasTextBorderColor → Color
-
final
- hasUnderline → bool
-
final
- hideCharacter → bool
-
final
- hideDefaultKeyboard → bool
-
final
- highlight → bool
-
final
- highlightAnimation → bool
-
final
- highlightAnimationBeginColor → Color
-
final
- highlightAnimationDuration → Duration?
-
final
- highlightAnimationEndColor → Color
-
final
- highlightColor → Color
-
final
- highlightPinBoxColor → Color?
-
final
- isCupertino → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardType → TextInputType
-
final
- maskCharacter → String
-
final
- maxLength → int
-
final
- onDone → OnDone?
-
final
- onTextChanged → dynamic Function(String)?
-
final
- pinBoxBorderWidth → double
-
final
- pinBoxColor → Color?
-
final
- pinBoxDecoration → PinBoxDecoration?
-
final
- pinBoxHeight → double
-
final
- pinBoxOuterPadding → EdgeInsets
-
final
- pinBoxRadius → double
-
final
- pinBoxWidth → double
-
final
- pinTextAnimatedSwitcherDuration → Duration
-
final
- pinTextAnimatedSwitcherTransition → AnimatedSwitcherTransitionBuilder?
-
final
- pinTextStyle → TextStyle?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textDirection → TextDirection
-
final
- wrapAlignment → WrapAlignment
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StatefulWidget> -
Creates the mutable state for this widget at a given location in the tree.
override
-
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