FTextField class
Fidooo TextField Widget
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FTextField
Constructors
-
FTextField({Key? key, String? label, bool isMandatory = false, TextEditingController? controller, FColorI fSelectColor = FColor.lightBlack, TextInputType textInputType = TextInputType.text, List<
TextInputFormatter> inputFormatters = const [], bool enabled = true, bool showAlwaysEnabled = false, TextCapitalization textCapitalization = TextCapitalization.none, void onChanged(String)?, IconData? prefixIcon, TextAlign textAlign = TextAlign.end, String? hintText, FocusNode? focusNode, void onEditingComplete()?, VoidCallback? onTap, void onSubmitted(String)?, FIconType? suffixIcon, int? maxLines, int? minLines, double borderRadius = 5, bool obscureText = false, Iterable<String> ? autofillHints, FTextStyle? labelStyle, FTextStyle? mandatoryStyle, FTextStyle? mandatoryStyleDisabled, FTextStyle? textStyle, FTextStyle? hintStyle, FTextStyle? disabledStyle, FTextStyle? errorStyle, AutovalidateMode? autovalidateMode, FColorI fillColor = FColor.noColor, FColorI fFillDisabledColor = FColor.lightPaleGray, FColorI fDisabledBorderColor = FColor.lightMidGray, FColorI fErrorBorderColor = FColor.lightError, FColorI fErrorTextColor = FColor.lightError, FColorI fErrorIconColor = FColor.lightError, FColorI fInstructionsColorText = FColor.lightBlack, String? instructions, bool readOnly = false, FIconType fIconError = FIconType.solid, InputDecoration? inputDecoration, bool isDense = false, FormFieldValidator<String> ? validator, String? initialValue, bool isDropdown = false, double height = 48, double focusIndex = 0}) -
const
Properties
-
autofillHints
→ Iterable<
String> ? -
final
- autovalidateMode → AutovalidateMode?
-
final
- borderRadius → double
-
final
- controller → TextEditingController?
-
final
- disabledStyle → FTextStyle?
-
final
- enabled → bool
-
final
- errorStyle → FTextStyle?
-
final
- fDisabledBorderColor → FColorI
-
final
- fErrorBorderColor → FColorI
-
final
- fErrorIconColor → FColorI
-
final
- fErrorTextColor → FColorI
-
final
- fFillDisabledColor → FColorI
-
final
- fIconError → FIconType
-
final
- fillColor → FColorI
-
final
- fInstructionsColorText → FColorI
-
final
- focusIndex → double
-
final
- focusNode → FocusNode?
-
final
- fSelectColor → FColorI
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
final
- hintStyle → FTextStyle?
-
final
- hintText → String?
-
final
- initialValue → String?
-
final
- inputDecoration → InputDecoration?
-
final
-
inputFormatters
→ List<
TextInputFormatter> -
final
- instructions → String?
-
final
- isDense → bool
-
final
- isDropdown → bool
-
final
- isMandatory → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- label → String?
-
final
- labelStyle → FTextStyle?
-
final
- mandatoryStyle → FTextStyle?
-
final
- mandatoryStyleDisabled → FTextStyle?
-
final
- maxLines → int?
-
final
- minLines → int?
-
final
- obscureText → bool
-
final
- onChanged → void Function(String)?
-
final
- onEditingComplete → void Function()?
-
final
- onSubmitted → void Function(String)?
-
final
- onTap → VoidCallback?
-
final
- prefixIcon → IconData?
-
final
- readOnly → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showAlwaysEnabled → bool
-
final
- suffixIcon → FIconType?
-
final
- textAlign → TextAlign
-
final
- textCapitalization → TextCapitalization
-
final
- textInputType → TextInputType
-
final
- textStyle → FTextStyle?
-
final
-
validator
→ FormFieldValidator<
String> ? -
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< FTextField> -
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, int wrapWidth = 65}) → 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