DigitTextFormInput class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BaseDigitFormInput
- DigitTextFormInput
Constructors
-
DigitTextFormInput({Key? key, required TextEditingController controller, String? label, String? initialValue, String? infoText, bool? info, bool readOnly = false, bool isDisabled = false, bool isRequired = false, bool charCount = false, String? innerLabel, String? helpText, TooltipTriggerMode triggerMode = TooltipTriggerMode.tap, bool preferToolTipBelow = false, String? suffixText, String? prefixText, IconData? suffixIcon, void onError(String?)?, List<
Validator> ? validations, void onChange(String)?, String? errorMessage, List<TextInputFormatter> ? inputFormatters, void onSuffixTap(String)?}) -
const
Properties
- capitalizeFirstLetter → bool
-
finalinherited
- charCount → bool
-
Indicates whether to show character count.
finalinherited
- controller → TextEditingController
-
Text editing controller for the input field.
finalinherited
- errorMessage → String?
-
validations provide you to send a error message, but you only want to pass a custom error message that can be also done by sending a errorMessage
finalinherited
- firstDate → DateTime?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
Preferred height of the input field.
finalinherited
- helpText → String?
-
Help text displayed below the input field.
finalinherited
- info → bool?
-
Indicates whether additional information (tooltip) is available.
finalinherited
- infoText → String?
-
Additional information text for tooltip.
finalinherited
- initialDate → DateTime?
-
specifically for date component
finalinherited
- initialValue → String?
-
Initial value for the input field.
finalinherited
- innerLabel → String?
-
Inner label (hint) for the input field.
finalinherited
-
inputFormatters
→ List<
TextInputFormatter> ? -
input formatters
finalinherited
- isDisabled → bool
-
Indicates whether the input field is disabled.
finalinherited
- isEditable → bool
-
some fields can be edited either just filled the values
finalinherited
- isRequired → bool
-
Determines if the input field is required.
finalinherited
- isTextArea → bool
-
finalinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardType → TextInputType
-
Keyboard type for the input field.
finalinherited
- label → String?
-
Label displayed above the input field.
finalinherited
- lastDate → DateTime?
-
finalinherited
- maxLine → int
-
Maximum number of lines for the input field.
finalinherited
- maxValue → int
-
Maximum allowed value (used for specific input types like numbers).
finalinherited
- minLine → int
-
Minimum number of lines for the input field.
finalinherited
- minValue → int
-
Minimum allowed value (used for specific input types like numbers).
finalinherited
- onChange → void Function(String)?
-
Callback function triggered on input value change.
finalinherited
- onError → void Function(String?)?
-
Callback function triggered on validation error.
finalinherited
- onSuffixTap → void Function(String)?
-
Callback function triggered on suffix icon tap.
finalinherited
- onTap → void Function()?
-
Callback function triggered onTap tap.
finalinherited
- preferToolTipBelow → bool
-
Determines whether the tooltip should appear below the input field.
finalinherited
- prefixText → String?
-
Icon to be displayed as a prefix in the input field.
finalinherited
- readOnly → bool
-
Determines if the input field is read-only.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showCurser → bool?
-
Determines whether the cursor should be visible in the input field.
finalinherited
- step → int
-
Step value (used for specific input types like numbers).
finalinherited
- suffixIcon → IconData?
-
Icon to be displayed as a suffix in the input field.
finalinherited
- suffixText → String?
-
Icon to be displayed as a suffix in the input field.
finalinherited
- textAlign → TextAlign
-
Text alignment within the input field.
finalinherited
- textAreaScroll → TextAreaScroll
-
finalinherited
- toggleSuffixIcon → IconData?
-
finalinherited
- triggerMode → TooltipTriggerMode
-
Determines when the tooltip should be triggered.
finalinherited
-
validations
→ List<
Validator> ? -
List of validation rules to be applied.
finalinherited
- width → double
-
Preferred width of the input field.
finalinherited
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _DigitTextFormInputState -
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